Flash video still playing on DIV that is removed using jQuery (IE bug)

后端 未结 13 2236
你的背包
你的背包 2020-12-03 05:57

I have some jQuery tabs one of which holds a flash video. When I play the video in one tab and click to another in FF or Safari the video stops along with the sound, clicki

13条回答
  •  旧时难觅i
    2020-12-03 06:17


    We had the same issue. Flash video was embedded using swfobject.embedSWF(...), however, IE9 did not stop the video when the div was hidden using jquery.

    Simple workardound: Call the swfobject.embedSWF(...) again to (re)load the swf into the same target div.

    If you have a video with autoplay, try to load another empty swf file when hiding. Cheers

提交回复
热议问题