You are here

function theme_asset_embed_fullsize in Asset 5

Same name and namespace in other branches
  1. 6 asset_embed/inc/asset_embed.themes.inc \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/asset_embed.module, line 243
Asset Embed Module

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>';
}