aboutsummaryrefslogtreecommitdiff
path: root/theme
diff options
context:
space:
mode:
Diffstat (limited to 'theme')
-rw-r--r--theme/video-play-flv.tpl.php9
-rw-r--r--theme/video-play-html5.tpl.php4
2 files changed, 7 insertions, 6 deletions
diff --git a/theme/video-play-flv.tpl.php b/theme/video-play-flv.tpl.php
index c895c8d..418fec2 100644
--- a/theme/video-play-flv.tpl.php
+++ b/theme/video-play-flv.tpl.php
@@ -1,13 +1,14 @@
-<?php
+<?php
+
/*
* @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;
+echo ($variables['themed_output']->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 cb4d51a..62a474e 100644
--- a/theme/video-play-html5.tpl.php
+++ b/theme/video-play-html5.tpl.php
@@ -26,7 +26,7 @@
<?php $videojs_sources .= "<source src=\"$filepath\" type='$mimetype; codecs=\"" . $codecs[$mimetype] . "\"' />"; ?>
<?php endif; ?>
<?php endforeach; ?>
-<?php print $videojs_sources; ?>
+ <?php print $videojs_sources; ?>
<!-- Flash Fallback. Use any flash video player here. Make sure to keep the vjs-flash-fallback class. -->
-<?php //echo theme('video_flv', (array)$video, array()); ?>
+ <?php echo theme('video_flv', array('video' => $video)); ?>
</video> \ No newline at end of file