解决div被embed,object覆盖问题

1.对于object,加<param name="wmode" value="transparent">,ie浏览器可解决。

2.对于embed, 加wmode="transparent",firefox浏览器可解决。

  对于ie浏览器,可设定windowlessVideo=1,设置为无窗口模式。

3.加透明<iframe>覆盖object,embed;
<iframe style="position:absolute;z-index:3;100%;height:100%;top:0;left:0;right:0;bottom:0" allowtransparency="true"  src="transparent.html"  frameborder="0"  id="CoverVideo" ></iframe>
给transparent.html的body里加background-color=transprent;

原文地址:https://www.cnblogs.com/hyql/p/5500371.html