function theme_emvideo_revver_flash in Embedded Media Field 6
Same name and namespace in other branches
- 6.3 contrib/emvideo/providers/revver.inc \theme_emvideo_revver_flash()
2 theme calls to theme_emvideo_revver_flash()
- emvideo_revver_preview in contrib/
emvideo/ providers/ revver.inc - emvideo_revver_video in contrib/
emvideo/ providers/ revver.inc
File
- contrib/
emvideo/ providers/ revver.inc, line 57 - This include processes revver.com media files for use by emfield.module.
Code
function theme_emvideo_revver_flash($embed, $width, $height, $autoplay) {
if ($embed) {
$autoplay = $autoplay ? ';flashvars:autoStart=true;' : '';
$output .= '<script src="http://flash.revver.com/player/1.0/player.js?mediaId:' . $embed . ';affiliateId:' . check_plain(variable_get('emvideo_revver_affiliate_id', '0')) . ';height:' . $height . ';width:' . $width . $autoplay . ';" type="text/javascript"></script>';
}
return $output;
}