您的位置:首页 > 移动开发

设置embed flash的层级(透明度) wmode="transparent, 移动端flash自适应宽高

2014-10-23 18:34 465 查看
1、设置embed的透明度
<embed src="http://player.youku.com/player.php/sid/XODA2MjM4NjM2/v.swf" width="100%" height="document.body.clientWidth/1.7" allowFullScreen="true" quality="high" align="middle" allowScriptAccess="always" type="application/x-shockwave-flash" wmode="transparent">

wmode="transparent

2、在移动端中设置flash高度和宽度的比为9:6 (自适应屏幕宽高)

height="document.body.clientWidth/1.7" 案例:如上代码
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐