You are here

function theme_emvideo_guba_flash in Embedded Media Field 6.3

Same name and namespace in other branches
  1. 6 contrib/emvideo/providers/guba.inc \theme_emvideo_guba_flash()
2 theme calls to theme_emvideo_guba_flash()
emvideo_guba_preview in contrib/emvideo/providers/guba.inc
emvideo_guba_video in contrib/emvideo/providers/guba.inc

File

contrib/emvideo/providers/guba.inc, line 40
Provide support for the Guba provider to the emfield.module.

Code

function theme_emvideo_guba_flash($embed, $width, $height, $autoplay) {
  $autoplay = $autoplay ? '&autoPlay=TRUE' : '&autoPlay=FALSE';
  $output .= '<embed src="http://www.guba.com/f/root.swf?video_url=http://free.guba.com/uploaditem/' . $embed . '/flash.flv&amp;isEmbeddedPlayer=FALSE' . $autoplay . '" quality="best" bgcolor="#FFFFFF" menu="TRUE" width="' . $width . '" height="' . $height . '" name="root" id="root" align="middle" scaleMode="noScale" allowScriptAccess="always" allowFullScreen="TRUE" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer"></embed>';
  return $output;
}