aboutsummaryrefslogtreecommitdiff
path: root/theme
diff options
context:
space:
mode:
Diffstat (limited to 'theme')
-rw-r--r--theme/video-play-flv.tpl.php2
-rw-r--r--theme/video-play-html5.tpl.php2
2 files changed, 3 insertions, 1 deletions
diff --git a/theme/video-play-flv.tpl.php b/theme/video-play-flv.tpl.php
index 418fec2..5779eae 100644
--- a/theme/video-play-flv.tpl.php
+++ b/theme/video-play-flv.tpl.php
@@ -10,5 +10,5 @@
* $themed_output is the rendered html.
*
*/
-echo ($variables['themed_output']->themed_output);
+print $themed_output;
?> \ No newline at end of file
diff --git a/theme/video-play-html5.tpl.php b/theme/video-play-html5.tpl.php
index 62a474e..78c5f8c 100644
--- a/theme/video-play-html5.tpl.php
+++ b/theme/video-play-html5.tpl.php
@@ -28,5 +28,7 @@
<?php endforeach; ?>
<?php print $videojs_sources; ?>
<!-- Flash Fallback. Use any flash video player here. Make sure to keep the vjs-flash-fallback class. -->
+ <?php $video->player = 'flv'; ?>
+ <?php $video->files->flv->url = $flash; ?>
<?php echo theme('video_flv', array('video' => $video)); ?>
</video> \ No newline at end of file