Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/html/73.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Html 为什么要在Firefox中自动重新加载嵌入flash_Html_Embed - Fatal编程技术网

Html 为什么要在Firefox中自动重新加载嵌入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。因为我是

我通过嵌入元素加载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")