Home RSS

SWX Bug with Flash Player 10

If you have been using the FP 10 RC and came across a site or widget using SWX, you undoubtedly noticed that it wasn't working. After a couple of days of back-and-forth on the SWX mailing list, the issue has been found and a solution posted.

[Update September 5, 2008 - a different fix was suggested in an attempt to allow SWX to continue to be used by hitting the gateway directly, allowing for easier debugging. Code below reflects this update.]

The problem is that FP 10 does not like one of the headers returned from SWX. To fix the issue, open SwxAssembler.php and change line 538 from:

header('Content-Disposition: attachment; filename="data.swf"');

to:

header('Content-Disposition: inline; filename="data.swf"');

This seems to fix the issue, as all SWX sites this has been tested on now work in FP 10.

Thanks to Fabrício for finding the proper solution, and to Folkert Hielema and Ben Lagoutte for helping test broken sites and debug the issue.

Defmoves said,

October 16, 2008 @ 2:53 am

Hi,

Thanks for this, with flash player 10 going live yesterday this was a life saver.

Cheers

jjmulletman said,

November 7, 2008 @ 7:32 am

Wow, I feel like I owe someone a beer.
I had hundreds of videos just stop playing. This change fixed everthing.

Kudos to whoever figured this out.

RSS feed for comments on this post

 
Powered by WordPress.