aboutsummaryrefslogtreecommitdiff
path: root/theme/video-play-quicktime.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-quicktime.tpl.php
parent973537f36c8f33473a00190aa64fc30b82d94c04 (diff)
downloadvideo-b6e86040dd3faa3a70ec16e77220d852bdb09a04.tar.gz
video-b6e86040dd3faa3a70ec16e77220d852bdb09a04.tar.bz2
Adding latest files.
Diffstat (limited to 'theme/video-play-quicktime.tpl.php')
-rw-r--r--theme/video-play-quicktime.tpl.php32
1 files changed, 32 insertions, 0 deletions
diff --git a/theme/video-play-quicktime.tpl.php b/theme/video-play-quicktime.tpl.php
new file mode 100644
index 0000000..a69ce26
--- /dev/null
+++ b/theme/video-play-quicktime.tpl.php
@@ -0,0 +1,32 @@
+<?php
+//$Id$
+/*
+ * @file
+ * Theme file to handle quicktime output.
+ *
+ * Variables passed.
+ * $video is the video object.
+ * $node is the node object.
+ *
+ *
+ * <script type="text/javascript" src="/sites/all/libraries/quicktime/AC_QuickTime.js"></script>
+ * <script type="text/javascript">
+ * QT_WriteOBJECT('<?php print $video->files->{$video->player}->url; ?>' , '<?php print $video->width; ?>', '<?php print $video->height; ?>' , '');
+ * </script>
+ */
+?>
+<object classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" codebase="http://www.apple.com/qtactivex/qtplugin.cab#version=7,3,0,0" width="<?php print $video->player_width; ?>" height="<?php print $video->player_height; ?>">
+ <param name="src" value="<?php print $video->files->{$video->player}->url; ?>" />
+ <param name="controller" value="true" />
+ <param name="scale" value="tofit" />
+ <param name="autoplay" value="<?php print $video->autoplay ? 'true' : 'false'; ?>" />
+ <param name="pluginurl" value="http://www.apple.com/quicktime/download/" />
+ <embed src="<?php print $video->files->{$video->player}->url; ?>"
+ type="video/quicktime"
+ pluginspage="http://www.apple.com/quicktime/download/"
+ width="<?php print $video->player_width; ?>"
+ height="<?php print $video->player_height; ?>"
+ autostart="<?php print $video->autoplay ? 'true' : 'false'; ?>"
+ controller="true" >
+ </embed>
+</object> \ No newline at end of file