diff options
author | Heshan <heshan@heidisoft.com> | 2011-03-18 14:27:47 +0530 |
---|---|---|
committer | Heshan <heshan@heidisoft.com> | 2011-03-18 14:27:47 +0530 |
commit | 797aef53344791c484e5568a1a4a639301ed262f (patch) | |
tree | bf816245bb84d26b82e527b3027b0ca6d5ac8122 /theme | |
parent | 69927fc15c744bd3602fe7d404af6a80130a1ce9 (diff) | |
download | video-797aef53344791c484e5568a1a4a639301ed262f.tar.gz video-797aef53344791c484e5568a1a4a639301ed262f.tar.bz2 |
Flowplayer support with Flash play
Diffstat (limited to 'theme')
-rw-r--r-- | theme/video-play-flv.tpl.php | 9 | ||||
-rw-r--r-- | theme/video-play-html5.tpl.php | 4 |
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 |