video-embed-field-embed-code.tpl.php 545 B

12345678910111213141516171819202122
  1. <?php
  2. /**
  3. * @file
  4. * Default theme implementation to display a video embed field.
  5. *
  6. * Variables available:
  7. * - $url: The URL of the video to display embed code for
  8. * - $style: The style name of the embed code to use
  9. * - $style_settings: The style settings for the embed code
  10. * - $handler: The name of the video handler
  11. * - $embed_code: The embed code
  12. * - $data: Additional video data
  13. *
  14. * @see template_preprocess_video_embed()
  15. */
  16. ?>
  17. <div class="embedded-video">
  18. <div class="player">
  19. <?php print $embed_code; ?>
  20. </div>
  21. </div>