diff options
author | Heshan Wanigasooriya <heshanmw@gmail.com> | 2010-12-05 12:56:20 +0000 |
---|---|---|
committer | Heshan Wanigasooriya <heshanmw@gmail.com> | 2010-12-05 12:56:20 +0000 |
commit | b6e86040dd3faa3a70ec16e77220d852bdb09a04 (patch) | |
tree | cdb4282446dfb0efd750b87a7aaedd30229f0ff9 /theme/video-play-realmedia.tpl.php | |
parent | 973537f36c8f33473a00190aa64fc30b82d94c04 (diff) | |
download | video-b6e86040dd3faa3a70ec16e77220d852bdb09a04.tar.gz video-b6e86040dd3faa3a70ec16e77220d852bdb09a04.tar.bz2 |
Adding latest files.
Diffstat (limited to 'theme/video-play-realmedia.tpl.php')
-rw-r--r-- | theme/video-play-realmedia.tpl.php | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/theme/video-play-realmedia.tpl.php b/theme/video-play-realmedia.tpl.php new file mode 100644 index 0000000..738137f --- /dev/null +++ b/theme/video-play-realmedia.tpl.php @@ -0,0 +1,22 @@ +<?php +//$Id$ +/* + * @file + * Theme file to handle realmedia output. + * + * Variables passed. + * $video is the video object. + * $node is the node object. + * + */ +?> +<object classid="clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA" width="<?php print $video->player_width; ?>" height="<?php print $video->player_height; ?>"> + <param name="src" value="<?php print $video->files->{$video->player}->url; ?>" /> + <param name="autostart" value="<?php print $video->autoplay; ?>" /> + <param name="controls" value="imagewindow" /> + <param name="console" value="video" /> + <param name="loop" value="false" /> + <object class="video-object" type="audio/x-pn-realaudio-plugin" data="<?php print $video->files->{$video->player}->url; ?>" width="<?php print $video->player_width; ?>" height="<?php print $video->player_height; ?>"> + <?php print t('No video? Get the Real Media !plugin', array('!plugin' => l(t('Plugin'), 'http://www.real.com/realplayer'))); ?> + </object> +</object>
\ No newline at end of file |