You are here

function theme_asset_embed_fullsize in Asset 6

Same name and namespace in other branches
  1. 5 asset_embed/asset_embed.module \theme_asset_embed_fullsize()
1 theme call to theme_asset_embed_fullsize()
asset_embed_asset_formatter in asset_embed/asset_embed.module

File

asset_embed/inc/asset_embed.themes.inc, line 10

Code

function theme_asset_embed_fullsize($asset, $attr = array()) {
  $id = $asset->embed['id'];
  return '<object width="' . $attr['width'] . '" height="' . $attr['height'] . '">' . '<param name="movie" value="http://www.youtube.com/v/' . $id . '"></param>' . '<param name="wmode" value="transparent"></param>' . '<embed src="http://www.youtube.com/v/' . $id . '" type="application/x-shockwave-flash" ' . 'wmode="transparent" width="' . $attr['width'] . '" height="' . $attr['height'] . '">' . '</embed></object>';
}