Video not playing in IE in hidden div using JW Player, SWFObject and FancyZoom

Posted by lgomez on Stack Overflow See other posts from Stack Overflow or by lgomez
Published on 2010-03-03T20:26:47Z Indexed on 2010/06/01 20:13 UTC
Read the original article Hit count: 357

Filed under:
|
|
|
|

Hi all,

I have a video that is meant to start playing when a user clicks on an image and said image opens a FancyZoom overlay. It works fine in every browser except IEs. If I place the video in a div that is not hidden (display:none actually), the video starts as expected. So it seems there is a problem with either Flash, JW Player, SWFObject or any combination of these when trying to load a video in a hidden div.

Anyone know any workarounds? I tried modifying the FancyZoom library (see my fork: http://github.com/lgomez/fancy-zoom/blob/master/prototype/js/fancyzoom.js) so I could use a callback to inject the video AFTER the zoom effect was completed but that did'n work.

Thanks!

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about flash