aboutsummaryrefslogtreecommitdiff
path: root/theme
diff options
context:
space:
mode:
authorMohamed Mujahid <muja_dd@494418.no-reply.drupal.org>2010-07-06 17:04:02 +0000
committerMohamed Mujahid <muja_dd@494418.no-reply.drupal.org>2010-07-06 17:04:02 +0000
commit0c8e7ae689eed6291bb2061c9c75e3057b230339 (patch)
treef0a8ef699214db00367763ba5f30c748d106fd69 /theme
parent8041073c8d74e5d24e3b9f10143f3e4bd04db2de (diff)
downloadvideo-0c8e7ae689eed6291bb2061c9c75e3057b230339.tar.gz
video-0c8e7ae689eed6291bb2061c9c75e3057b230339.tar.bz2
merging changes from DRUPAL-6--4
Diffstat (limited to 'theme')
-rw-r--r--theme/video-play-dcr.tpl.php17
-rw-r--r--theme/video-play-divx.tpl.php20
-rw-r--r--theme/video-play-flash.tpl.php20
-rw-r--r--theme/video-play-flv.tpl.php14
-rw-r--r--theme/video-play-quicktime.tpl.php32
-rw-r--r--theme/video-play-realmedia.tpl.php22
-rw-r--r--theme/video-play-theora.tpl.php23
-rw-r--r--theme/video-play-windowsmedia.tpl.php21
8 files changed, 169 insertions, 0 deletions
diff --git a/theme/video-play-dcr.tpl.php b/theme/video-play-dcr.tpl.php
new file mode 100644
index 0000000..576e52c
--- /dev/null
+++ b/theme/video-play-dcr.tpl.php
@@ -0,0 +1,17 @@
+<?php
+//$Id$
+/*
+ * @file
+ * Theme file to handle director output.
+ *
+ * Variables passed.
+ * $video is the video object.
+ * $node is the node object.
+ */
+?>
+<object classid="clsid:166B1BCA-3F9C-11CF-8075-444553540000" type="application/x-director" width="<?php print $video->player_width; ?>" height="<?php print $video->player_height; ?>" codebase="http://download.macromedia.com/pub/shockwave/cabs/director/sw.cab#version=10,0,0,0">
+ <param name="src" value="<?php print $video->url; ?>" />
+ <object class="video-object" type="application/x-director" data="<?php print $video->url; ?>" width="<?php print $video->player_width; ?>" height="<?php print $video->player_height; ?>" mode="zero">
+ <?php print t('No video? Get the Director !plugin', array('!plugin' => l(t('Plugin'), 'http://www.macromedia.com/shockwave/download/'))); ?>
+ </object>
+</object> \ No newline at end of file
diff --git a/theme/video-play-divx.tpl.php b/theme/video-play-divx.tpl.php
new file mode 100644
index 0000000..e5e7f35
--- /dev/null
+++ b/theme/video-play-divx.tpl.php
@@ -0,0 +1,20 @@
+<?php
+//$Id$
+/*
+ * @file
+ * Theme file to handle divx output.
+ *
+ * Variables passed.
+ * $video is the video object.
+ * $node is the node object.
+ *
+ */
+?>
+<object classid="clsid:67DABFBF-D0AB-41fa-9C46-CC0F21721616" width="<?php print $video->player_width; ?>" height="<?php print $video->player_height; ?>" codebase="http://go.divx.com/plugin/DivXBrowserPlugin.cab">
+ <param name="src" value="<?php print $video->url; ?>" />
+ <param name="pluginspage" value="http://go.divx.com/plugin/download/" />
+ <param name="mode" value="zero" />
+ <object class="video-object" type="video/divx" data="<?php print $video->url; ?>" width="<?php print $video->player_width; ?>" height="<?php print $video->player_height; ?>" mode="zero">
+ <?php print t('No video? Get the DivX Web Player !plugin', array('!plugin' => l(t('Plugin'), 'http://go.divx.com/plugin/download/'))); ?>
+ </object>
+</object> \ No newline at end of file
diff --git a/theme/video-play-flash.tpl.php b/theme/video-play-flash.tpl.php
new file mode 100644
index 0000000..a559976
--- /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->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->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
diff --git a/theme/video-play-flv.tpl.php b/theme/video-play-flv.tpl.php
new file mode 100644
index 0000000..661ad04
--- /dev/null
+++ b/theme/video-play-flv.tpl.php
@@ -0,0 +1,14 @@
+<?php
+//$Id$
+/*
+ * @file
+ * Theme file to handle flv output.
+ *
+ * Variables passed.
+ * $video is the video object.
+ * $node is the node object.
+ * $themed_output is the rendered html.
+ *
+ */
+print $themed_output;
+?> \ No newline at end of file
diff --git a/theme/video-play-quicktime.tpl.php b/theme/video-play-quicktime.tpl.php
new file mode 100644
index 0000000..7e4fb29
--- /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->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->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->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
diff --git a/theme/video-play-realmedia.tpl.php b/theme/video-play-realmedia.tpl.php
new file mode 100644
index 0000000..8048c5c
--- /dev/null
+++ b/theme/video-play-realmedia.tpl.php
@@ -0,0 +1,22 @@
+<?php
+//$Id$
+/*
+ * @file
+ * Theme file to handle realmedia output.
+ *
+ * Variables passed.
+ * $video is the video object.
+ * $node is the node object.
+ *
+ */
+?>
+<object classid="clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA" width="<?php print $video->player_width; ?>" height="<?php print $video->player_height; ?>">
+ <param name="src" value="<?php print $video->url; ?>" />
+ <param name="autostart" value="<?php print $video->autoplay; ?>" />
+ <param name="controls" value="imagewindow" />
+ <param name="console" value="video" />
+ <param name="loop" value="false" />
+ <object class="video-object" type="audio/x-pn-realaudio-plugin" data="<?php print $video->url; ?>" width="<?php print $video->player_width; ?>" height="<?php print $video->player_height; ?>">
+ <?php print t('No video? Get the Real Media !plugin', array('!plugin' => l(t('Plugin'), 'http://www.real.com/realplayer'))); ?>
+ </object>
+</object> \ No newline at end of file
diff --git a/theme/video-play-theora.tpl.php b/theme/video-play-theora.tpl.php
new file mode 100644
index 0000000..1b759ee
--- /dev/null
+++ b/theme/video-play-theora.tpl.php
@@ -0,0 +1,23 @@
+<?php
+//$Id$
+/*
+ * @file
+ * Theme file to handle ogg theora output.
+ *
+ * Variables passed.
+ * $video is the video object.
+ * $node is the node object.
+ *
+ */
+?>
+<applet=code="com.fluendo.player.Cortado.class" archive="<?php print $video->theora_player; ?>" width="<?php print $video->player_width; ?>" height="<?php print $video->player_height; ?>">
+ <param name="url" value="<?php print $video->url; ?>" />
+ <param name="local" value="false" />
+ <param name="mode" value="zero" />
+ <param name="keepaspect" value="true" />
+ <param name="video" value="true" />
+ <param name="audio" value="true" />
+ <param name="seekable" value="true" />
+ <param name="bufferSize" value="200" />
+ <?php print t('No video? Get the Latest Cortado !plugin', array('!plugin' => l(t('Plugin'), 'http://www.theora.org/cortado/'))); ?>
+</applet> \ No newline at end of file
diff --git a/theme/video-play-windowsmedia.tpl.php b/theme/video-play-windowsmedia.tpl.php
new file mode 100644
index 0000000..c7a1026
--- /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->url; ?>" width="<?php print $video->player_width; ?>" height="<?php print $video->player_height; ?>">
+ <param name="src" value="<?php print $video->url; ?>" valuetype="ref" type="<?php print $video->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