Html 为什么要在Firefox中自动重新加载嵌入flash
我通过嵌入元素加载flash,如下所示:Html 为什么要在Firefox中自动重新加载嵌入flash,html,embed,Html,Embed,我通过嵌入元素加载flash,如下所示: <div id="game_container"> <embed src="http://www.flash1890.com/swf2/mtv/20130516/ltt.swf" width="600px" height="600px"></embed> </div> flash会在Firefox中重新加载,但其他浏览器不会重新加载 那么,如何解决这个问题呢?我不想在FF中重新加载flash。因为我是
<div id="game_container">
<embed src="http://www.flash1890.com/swf2/mtv/20130516/ltt.swf" width="600px" height="600px"></embed>
</div>
flash会在Firefox中重新加载,但其他浏览器不会重新加载
那么,如何解决这个问题呢?我不想在FF中重新加载flash。因为我是通过嵌入来加载amaya游戏的,所以必须使用嵌入元素来测试它。
1. jQuery("#game_container").css("display", "none")
2. jQuery("#game_container").css("display", "block")