You are here

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

brightcove-field-entity-link.tpl.php Image linked to entity theme implementation.

This template is used when viewing a Brightcove video with a thumbnail or videoStill image linking to entity.

Available variables:

  • $output: Formatted image with a link to entity, ready for printing.
  • $image_field: The name of the image field used from Media API. Can be thumbnailURL or videoStillURL.
  • $destination: URL for the Brightcove video player.
  • $video_id: Video ID from Media API.
  • $field_name: Field name.
  • $type_name: Entity type.
  • $style: If printed with image style, image style name.

File

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

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

<?php

if ($output) {
  echo $output;
}