Page 1 of 1

[FIXED] flash patching for swfobject 2.2 broken in 2.0.2rc5

Posted: Mon Aug 16, 2010 6:25 am
by al_9x
Fx 3.6.8, ok in rc4
No placeholder, wrong url for the blocked object, accompanied by an error:

Code: Select all

Error: uncaught exception: [Exception... ""  nsresult: "0x805e000b (<unknown>)"  location: "JS frame :: file:///C:/tmp/swfobject/src/swfobject.js :: anonymous :: line 201"  data: no]
that's "if (typeof t.GetVariable != UNDEF) {"

Code: Select all

<html>
<head>
<script src="swfobject.js"></script>
</head>
<body>
<div id="ytapiplayer"></div>
<script>
var params = { allowScriptAccess: "always" };
var atts = { id: "myytplayer" };
swfobject.embedSWF("http://www.youtube.com/apiplayer?enablejsapi=1",
                   "ytapiplayer", "400", "300", "8", null, null,
                   params, atts);
</script>
</body>
</html>

Re: flash patching for swfobject 2.2 broken in 2.0.2rc5

Posted: Mon Aug 16, 2010 8:15 am
by Giorgio Maone
Fixed in latest development build, thanks.

Re: flash patching for swfobject 2.2 broken in 2.0.2rc5

Posted: Mon Aug 16, 2010 8:36 am
by al_9x
confirmed