brightcove-field-player.tpl.php in Brightcove Video Connect 7.2
Same filename and directory in other branches
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 also
1 theme call to brightcove-field-player.tpl.php
- theme_brightcove_field_formatter_default in brightcove_field/
brightcove_field.formatters.inc - Theme callback for Brightcove field formatter. Returns an embedded player with default site player.
File
brightcove_field/brightcove-field-player.tpl.phpView 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;
}