brightcove-field-player.tpl.php in Brightcove Video Connect 7.3
Same filename and directory in other branches
brightcove-field-player.tpl.php Default template for embeding brightcove players.
Available variables:
- $id
- $width
- $height
- $classes_array
- $bgcolor
- $flashvars
See also
template_preprocess_brightcove_field_embed().
File
brightcove_field/brightcove-field-player.tpl.phpView source
<?php
/**
* @file brightcove-field-player.tpl.php
* Default template for embeding brightcove players.
*
* Available variables:
* - $id
* - $width
* - $height
* - $classes_array
* - $bgcolor
* - $flashvars
*
* @see template_preprocess_brightcove_field_embed().
*/
global $is_https;
?>
<object id="<?php
print $id;
?>" class="BrightcoveExperience <?php
print join($classes_array, ',');
?>">
<param name="bgcolor" value="<?php
print $bgcolor;
?>" />
<param name="width" value="<?php
print $width;
?>" />
<param name="height" value="<?php
print $height;
?>" />
<param name="playerID" value="<?php
print $player_id;
?>" />
<param name="playerKey" value="<?php
print $player_key;
?>" />
<?php
if ($is_https) {
?>
<param name="secureConnections" value="true" />
<param name="secureHTMLConnections" value="true" />
<?php
}
?>
<?php
if ($is_vid) {
?>
<param name="isVid" value="true" />
<param name="@videoPlayer" value="<?php
print $brightcove_id;
?>" />
<?php
}
else {
?>
<param name="@videoList" value="<?php
print $brightcove_id;
?>" />
<param name="@playlistTab" value="<?php
print $brightcove_id;
?>" />
<param name="@playlistCombo" value="<?php
print $brightcove_id;
?>" />
<?php
}
?>
<param name="isUI" value="true" />
<param name="dynamicStreaming" value="true" />
</object>
Globals
Name | Description |
---|---|
$is_https | @file brightcove-field-player.tpl.php Default template for embeding brightcove players. |