You are here

protected function Brightcove::getPlayerName in Video Embed Brightcove 8

Get the player name from the input URL.

Return value

string The video player name.

1 call to Brightcove::getPlayerName()
Brightcove::renderEmbedCode in src/Plugin/video_embed_field/Provider/Brightcove.php

File

src/Plugin/video_embed_field/Provider/Brightcove.php, line 164

Class

Brightcove
A Brightcove provider plugin.

Namespace

Drupal\video_embed_brightcove\Plugin\video_embed_field\Provider

Code

protected function getPlayerName() {
  return static::getUrlMetadata($this
    ->getInput(), 'player_name');
}