You are here

brightcove-field-entity-image.tpl.php in Brightcove Video Connect 7.3

brightcove-field-entity-image.tpl.php Image theme implementation.

This template is used when viewing a Brightcove video with a thumbnail or videoStill image without a link.

Available variables:

  • $output: Formatted image, ready for printing.
  • $image_field: The name of the image field used from Media API. Can be thumbnailURL or videoStillURL.
  • $id: Entity ID.
  • $video_id: Video ID from Media API.
  • $field_name: Field name.
  • $type_name: Entity type.

File

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

/**
 * @file brightcove-field-entity-image.tpl.php
 * Image theme implementation.
 *
 * This template is used when viewing a Brightcove video with a thumbnail or videoStill image without a link.
 *
 * Available variables:
 *   - $output: Formatted image, ready for printing.
 *   - $image_field: The name of the image field used from Media API. Can be thumbnailURL or videoStillURL.
 *   - $id: Entity ID.
 *   - $video_id: Video ID from Media API.
 *   - $field_name: Field name.
 *   - $type_name: Entity type.
 *
 * @see theme_brightcove_field_entity_image()
 */
?>

<?php

if ($output) {
  echo $output;
}