From b6e86040dd3faa3a70ec16e77220d852bdb09a04 Mon Sep 17 00:00:00 2001 From: Heshan Wanigasooriya <heshanmw@gmail.com> Date: Sun, 5 Dec 2010 12:56:20 +0000 Subject: Adding latest files. --- theme/video-play-windowsmedia.tpl.php | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 theme/video-play-windowsmedia.tpl.php (limited to 'theme/video-play-windowsmedia.tpl.php') diff --git a/theme/video-play-windowsmedia.tpl.php b/theme/video-play-windowsmedia.tpl.php new file mode 100644 index 0000000..df0838c --- /dev/null +++ b/theme/video-play-windowsmedia.tpl.php @@ -0,0 +1,21 @@ +<?php +//$Id$ +/* + * @file + * Theme file to handle windows media output. + * + * Variables passed. + * $video is the video object. + * $node is the node object. + * + */ +?> + +<object type="video/x-ms-wmv" data="<?php print $video->files->{$video->player}->url; ?>" width="<?php print $video->player_width; ?>" height="<?php print $video->player_height; ?>"> + <param name="src" value="<?php print $video->files->{$video->player}->url; ?>" valuetype="ref" type="<?php print $video->files->{$video->player}->url; ?>"> + <param name="animationatStart" value="true"> + <param name="transparentatStart" value="true"> + <param name="autostart" value="<?php print $video->autoplay; ?>"> + <param name="controller" value="1"> + <?php print t('No video? Get the Windows Media !plugin', array('!plugin' => l(t('Plugin'), 'http://www.microsoft.com/windows/windowsmedia/player/download/'))); ?> +</object> \ No newline at end of file -- cgit v1.2.3