You are here

protected function Brightcove::getPlayerId in Video Embed Brightcove 8

Get the player ID from the input URL.

Return value

string The video player ID.

2 calls to Brightcove::getPlayerId()
Brightcove::getRemoteThumbnailUrl in src/Plugin/video_embed_field/Provider/Brightcove.php
Brightcove::renderEmbedCode in src/Plugin/video_embed_field/Provider/Brightcove.php

File

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

Class

Brightcove
A Brightcove provider plugin.

Namespace

Drupal\video_embed_brightcove\Plugin\video_embed_field\Provider

Code

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