You are here

function theme_emvideo_imeem_flash in Embedded Media Field 6.3

Same name and namespace in other branches
  1. 6 contrib/emvideo/providers/imeem.inc \theme_emvideo_imeem_flash()
2 theme calls to theme_emvideo_imeem_flash()
emvideo_imeem_preview in contrib/emvideo/providers/imeem.inc
emvideo_imeem_video in contrib/emvideo/providers/imeem.inc

File

contrib/emvideo/providers/imeem.inc, line 62

Code

function theme_emvideo_imeem_flash($embed, $width, $height, $autoplay) {
  $autoplay = $autoplay ? '/aus=true' : '/aus=false';
  $colors = 'backColor=666666&primaryColor=cccccc&secondaryColor=333333&linkColor=cccccc';
  $output .= '<object width="' . $width . '" height="' . $height . '">';
  $output .= '<param name="movie" value="http://media.imeem.com/v/' . $embed . $autoplay . '/pv=2"></param>';
  $output .= '<param name="allowFullScreen" value="true"></param>';
  $output .= '<param name="wmode" value="transparent"></param>';
  $output .= '<param name="FlashVars" value="' . $colors . '"></param>';
  $output .= '<embed src="http://media.imeem.com/v/' . $embed . $autoplay . '/pv=2" type="application/x-shockwave-flash" width="' . $width . '" height="' . $height . '" allowFullScreen="true" wmode="transparent" FlashVars="' . $colors . '"></embed>';
  $output .= '</object>';
  return $output;
}