You are here

video-embed-field-embed-code.tpl.php in Video Embed Field 7.2

Default theme implementation to display a video embed field.

Variables available:

  • $url: The URL of the video to display embed code for
  • $style: The style name of the embed code to use
  • $style_settings: The style settings for the embed code
  • $handler: The name of the video handler
  • $embed_code: The embed code
  • $data: Additional video data

See also

template_preprocess_video_embed()

File

video-embed-field-embed-code.tpl.php
View source
<?php

/**
 * @file
 * Default theme implementation to display a video embed field.
 *
 * Variables available:
 * - $url: The URL of the video to display embed code for
 * - $style: The style name of the embed code to use
 * - $style_settings: The style settings for the embed code
 * - $handler: The name of the video handler
 * - $embed_code: The embed code
 * - $data: Additional video data
 *
 * @see template_preprocess_video_embed()
 */
?>

<div class="embedded-video">
  <div class="player">
    <?php

print $embed_code;
?>
  </div>
</div>