[SWFObject] Problems with Flash 6 and swfobject 1.4.4
Geoff Stearns
geoff at deconcept.com
Thu Sep 28 07:13:38 PDT 2006
i haven't updated it since then, so the one at that link is the very
latest.
i didn't really change that much with it, mostly the flash player 6
fix, and changes to expressinstall, but all the detection is the same
so there shouldn't bee too many issues.
On Sep 28, 2006, at 9:22 AM, Florian Hengartner wrote:
> Hi Jakob and Geoff,
>
> I'm experiencing exactly the same problem as jakob.
> The new version (http://blog.deconcept.com/code/swfobject2.0/
> swfobject.js)
> helps :-) thank you.
> Did you find any bugs in the new version since 15.sept, is there a
> newer version?
>
> As a side note:
> Troublesome combination: IE6 and flashplayer 6.x.
> In my setup, the crash occured even if I did the object and embed
> tags by hand
> and just included the swfobject.js.
> No wonder, as the problem lies in the onUnload method.
>
> I traced the problme to the "typeof[i][x]" call.
> The new version does not got into cleanupSWFs for IE6, thus no
> typeof call.
> <code>
> /* fix for video streaming bug */
> deconcept.SWFObjectUtil.cleanupSWFs = function() {
> if (window.opera || !document.all) return;
> var objects = document.getElementsByTagName("OBJECT");
>
> for (var i=0; i < objects.length; i++) {
> objects[i].style.display = 'none';
> for (var x in objects[i]) {
> /* // suppress the crash.
> if (typeof objects[i][x] == 'function') {
> objects[i][x] = function(){};
> }
> */
> }
> }
> }
> </code>
>
> regards, florian
>
> _______________________________________________
> SWFObject mailing list
> SWFObject at lists.deconcept.com
> http://lists.deconcept.com/listinfo.cgi/swfobject-deconcept.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.deconcept.com/pipermail/swfobject-deconcept.com/attachments/20060928/92d8ad06/attachment-0005.htm>
More information about the Swfobject
mailing list