Closed GoogleCodeExporter closed 9 years ago
Found a "partial" fix. It will work in Firefox if you add the following into
the
Head with the other SWFObject embed code:
swfobject.addLoadEvent(forceRedraw);
function forceRedraw() {
document.getElementById("id_of_flash_div").style.display = "block";
The SWFs don't load as cleanly in Firefox because of this but at least they
load.
There must be a better solution out there.
Original comment by JasonHam...@gmail.com
on 4 Dec 2009 at 10:28
I think this is a duplicate of issue 327
Original comment by smiro...@gmail.com
on 11 Dec 2009 at 6:49
This is no longer an issue with Firefox 3.6. I will close this thread. Please
re-post if you're still encountering issues.
Original comment by platelu...@gmail.com
on 7 Nov 2010 at 8:27
Thank you, comment #1. This helped me. Even after upgrading Firefox from 3.5.x
to 3.6.x I was still experiencing this issue: video wouldn't appear in Firefox
3.5.x/3.6.x . I added your code along with adding
"swfobject.switchOffAutoHideShow()" AND removing "wmode". I don't know which
combination of the three worked and I don't have any time to verify, being on
the clock and all.
Original comment by uhl...@gmail.com
on 19 Jul 2011 at 5:33
When you call registerObject the swf object will will be hidden. The flash will
be displayed properly if replace this string to "setVisibility(objectIdStr,
true);".
------------
registerObject: function(objectIdStr, swfVersionStr, xiSwfUrlStr, callbackFn) {
if (ua.w3 && objectIdStr && swfVersionStr) {
var regObj = {};
regObj.id = objectIdStr;
regObj.swfVersion = swfVersionStr;
regObj.expressInstall = xiSwfUrlStr;
regObj.callbackFn = callbackFn;
regObjArr[regObjArr.length] = regObj;
setVisibility(objectIdStr, false); // !!! Error?
}
else if (callbackFn) {
callbackFn({success:false, id:objectIdStr});
}
},
Original comment by LastDragon.ru@gmail.com
on 20 Mar 2012 at 3:18
Original issue reported on code.google.com by
JasonHam...@gmail.com
on 23 Nov 2009 at 11:43