diff options
author | Heshan <heshan@heidisoft.com> | 2011-03-19 00:33:50 +0530 |
---|---|---|
committer | Heshan <heshan@heidisoft.com> | 2011-03-19 00:33:50 +0530 |
commit | a43b5f2f08002e47bc575f5a4a4618ebebc3d9c6 (patch) | |
tree | 6552d0f616ed4680797a4f67829bc5e556359e32 /theme | |
parent | 797aef53344791c484e5568a1a4a639301ed262f (diff) | |
download | video-a43b5f2f08002e47bc575f5a4a4618ebebc3d9c6.tar.gz video-a43b5f2f08002e47bc575f5a4a4618ebebc3d9c6.tar.bz2 |
Updated the hook_theme and video themes, remove theme funcations to video.theme.inc and added HTML5 with Flash fallback with Flowplayer
Diffstat (limited to 'theme')
-rw-r--r-- | theme/video-play-flv.tpl.php | 2 | ||||
-rw-r--r-- | theme/video-play-html5.tpl.php | 2 |
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 |