You are here

brightcove-cck-node-link.tpl.php in Brightcove Video Connect 6

Same filename and directory in other branches
  1. 6.2 brightcove_cck/brightcove-cck-node-link.tpl.php

brightcove-cck-node-link.tpl.php Image linked to node theme implementation.

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

Available variables:

  • $output: Formatted image with a link to node, 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: CCK Field name.
  • $type_name: Node type.
  • $preset: If printed with imagecache, Imagecache preset name.

File

brightcove_cck/brightcove-cck-node-link.tpl.php
View source
<?php

/**
 * @file brightcove-cck-node-link.tpl.php
 * Image linked to node theme implementation.
 *
 * This template is used when viewing a Brightcove video with a thumbnail or videoStill image linking to node.
 *
 * Available variables:
 *   - $output: Formatted image with a link to node, 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: CCK Field name.
 *   - $type_name: Node type.
 *   - $preset: If printed with imagecache, Imagecache preset name.
 *
 * @see theme_brightcove_cck_node_link()
 */
?>

<?php

if ($output) {
  echo $output;
}