jQuery设置flash wmode参数
我想知道是否有任何jQuery插件可以在运行时将wmode更改为透明。 (类似于wibiya的东西)
我试过谷歌搜索,但找不到任何确切的插件做到这一点。 我找到的唯一资源是:
http://www.onlineaspect.com/2009/08/13/javascript_to_fix_wmode_parameters/ http://labs.kaliko.com/2009/11/change-wmode-with-jquery.html
还有其他选择吗?
你找不到像这样的相对少量function的插件; 我认为这个片段应该只是覆盖它:
$("object").append( $("").attr({ 'name': 'wmode', 'value': 'transparent' }) ).find("embed").attr('wmode', 'transparent')
我不确定何时最好运行它; ready
工作还可以工作但是我认为可能已经太晚了,因为Flash内容已经嵌入了? 值得尝试。