popsu-d7/sites/all/modules/media_archive/includes/themes/media-archive-video.tpl.php
Bachir Soussi Chiadmi 1bc61b12ad first import
2015-04-08 11:40:19 +02:00

25 lines
910 B
PHP

<?php
/**
* @file media_archive/includes/themes/media-archive-video.tpl.php
*
* Template file for theme('media_archive_video').
*
* Variables available:
* $uri - The uri to the Archive video, such as archive://v/xsy7x8c9.
* $video_id - The unique identifier of the Archive video.
* $width - The width to render.
* $height - The height to render.
* $autoplay - If TRUE, then start the player automatically when displaying.
* $fullscreen - Whether to allow fullscreen playback.
*
* Note that we set the width & height of the outer wrapper manually so that
* the JS will respect that when resizing later.
*/
?>
<div class="media-archive-outer-wrapper" id="media-archive-<?php print $id; ?>" style="width: <?php print $width; ?>px; height: <?php print $height; ?>px;">
<div class="media-archive-preview-wrapper" id="<?php print $wrapper_id; ?>">
<?php print $output; ?>
</div>
</div>