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

Bug reports and enhancement requests
Post Reply
al_9x
Master Bug Buster
Posts: 931
Joined: Thu Mar 19, 2009 4:52 pm

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

Post 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>
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.8) Gecko/20100722 Firefox/3.6.8
User avatar
Giorgio Maone
Site Admin
Posts: 9524
Joined: Wed Mar 18, 2009 11:22 pm
Location: Palermo - Italy
Contact:

Re: flash patching for swfobject 2.2 broken in 2.0.2rc5

Post by Giorgio Maone »

Fixed in latest development build, thanks.
Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.9.2.8) Gecko/20100722 Firefox/3.6.8
al_9x
Master Bug Buster
Posts: 931
Joined: Thu Mar 19, 2009 4:52 pm

Re: flash patching for swfobject 2.2 broken in 2.0.2rc5

Post by al_9x »

confirmed
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.8) Gecko/20100722 Firefox/3.6.8
Post Reply