aboutsummaryrefslogtreecommitdiff
path: root/theme/video-play-flash.tpl.php
diff options
context:
space:
mode:
authorHeshan Wanigasooriya <heshanmw@gmail.com>2010-12-05 12:56:20 +0000
committerHeshan Wanigasooriya <heshanmw@gmail.com>2010-12-05 12:56:20 +0000
commitb6e86040dd3faa3a70ec16e77220d852bdb09a04 (patch)
treecdb4282446dfb0efd750b87a7aaedd30229f0ff9 /theme/video-play-flash.tpl.php
parent973537f36c8f33473a00190aa64fc30b82d94c04 (diff)
downloadvideo-b6e86040dd3faa3a70ec16e77220d852bdb09a04.tar.gz
video-b6e86040dd3faa3a70ec16e77220d852bdb09a04.tar.bz2
Adding latest files.
Diffstat (limited to 'theme/video-play-flash.tpl.php')
-rw-r--r--theme/video-play-flash.tpl.php20
1 files changed, 20 insertions, 0 deletions
diff --git a/theme/video-play-flash.tpl.php b/theme/video-play-flash.tpl.php
new file mode 100644
index 0000000..264578c
--- /dev/null
+++ b/theme/video-play-flash.tpl.php
@@ -0,0 +1,20 @@
+<?php
+//$Id$
+/*
+ * @file
+ * Theme file to handle flash output.
+ *
+ * Variables passed.
+ * $video is the video object.
+ * $node is the node object.
+ *
+ */
+?>
+<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="<?php print $video->player_width; ?>" height="<?php print $video->player_height; ?>" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0">
+ <param name="movie" value="<?php print $video->files->{$video->player}->url; ?>" />
+ <param name="autoplay" value="<?php print $video->autoplay; ?>" />
+ <param name="wmode" value="transparent" />
+ <object class="video-object" type="application/x-shockwave-flash" data="<?php print $video->files->{$video->player}->url; ?>" width="<?php print $video->player_width; ?>" height="<?php print $video->player_height; ?>">
+ <?php print t('No video? Get the Adobe Flash !plugin', array('!plugin' => l(t('Plugin'), 'http://get.adobe.com/flashplayer/'))); ?>
+ </object>
+</object> \ No newline at end of file