aboutsummaryrefslogtreecommitdiff
path: root/theme/video-play-divx.tpl.php
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/video-play-divx.tpl.php
parent8041073c8d74e5d24e3b9f10143f3e4bd04db2de (diff)
downloadvideo-0c8e7ae689eed6291bb2061c9c75e3057b230339.tar.gz
video-0c8e7ae689eed6291bb2061c9c75e3057b230339.tar.bz2
merging changes from DRUPAL-6--4
Diffstat (limited to 'theme/video-play-divx.tpl.php')
-rw-r--r--theme/video-play-divx.tpl.php20
1 files changed, 20 insertions, 0 deletions
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