media-archive-video.tpl.php 910 B

123456789101112131415161718192021222324
  1. <?php
  2. /**
  3. * @file media_archive/includes/themes/media-archive-video.tpl.php
  4. *
  5. * Template file for theme('media_archive_video').
  6. *
  7. * Variables available:
  8. * $uri - The uri to the Archive video, such as archive://v/xsy7x8c9.
  9. * $video_id - The unique identifier of the Archive video.
  10. * $width - The width to render.
  11. * $height - The height to render.
  12. * $autoplay - If TRUE, then start the player automatically when displaying.
  13. * $fullscreen - Whether to allow fullscreen playback.
  14. *
  15. * Note that we set the width & height of the outer wrapper manually so that
  16. * the JS will respect that when resizing later.
  17. */
  18. ?>
  19. <div class="media-archive-outer-wrapper" id="media-archive-<?php print $id; ?>" style="width: <?php print $width; ?>px; height: <?php print $height; ?>px;">
  20. <div class="media-archive-preview-wrapper" id="<?php print $wrapper_id; ?>">
  21. <?php print $output; ?>
  22. </div>
  23. </div>