You are here

brightcove-field-player.tpl.php in Brightcove Video Connect 7.2

brightcove-field-player.tpl.php Default theme implementation to play Brightcove video.

This template is used when viewing a Brightcove video with a default formatter, standard video player.

Available variables:

  • $player: Video player HTML code.
  • $video_id: Video ID from Media API.

File

brightcove_field/brightcove-field-player.tpl.php
View source
<?php

/**
 * @file brightcove-field-player.tpl.php
 * Default theme implementation to play Brightcove video.
 *
 * This template is used when viewing a Brightcove video with a default
 * formatter, standard video player.
 *
 * Available variables:
 *   - $player: Video player HTML code.
 *   - $video_id: Video ID from Media API.
 *
 * @see theme_brightcove_field_formatter_default()
 */
?>

<?php

if ($player) {
  echo $player;
}