MozillaZine

Full Article Attached Fully Scriptable Plug-ins for Mozilla

Thursday July 18th, 2002

Yesterday, the Netscape Tech Evangelism Team made a posting to netscape.public.mozilla.plugins announcing that the latest versions of Macromedia Flash and Apple QuickTime are scriptable in Mozilla. Read the full article for more details.

Thanks to Asa for the news.


#22 Re: Linux flash

by olo <olo@altkom.com.pl>

Friday July 19th, 2002 10:29 AM

You are replying to this message

Here's my letter to Macromedia concerning the audio playback issue on Linux, tell me what do you think about it (maybe we could base a petition on it, so that our voice finally gets through to people at Macromedia):

=================================================================================

There's a critical bug in libflashplayer, for which there is a known fix. Implementing that fix would probably take a Macromedia programmer 5 minutes (most of this time being the formal paperwork for getting approvement for patch check-in). Fixing this bug will make life better for thousands of users of Mozilla/Netscape browser worldwide, who visit 2 million flash-enabled web pages that exist today.

The bug is because certain latest versions or flash player library released by Macromedia forget to open audio device with in a non-blocking mode (O_NONBLOCK), as it was with older versions. This causes the Flash plugin and the whole browser to hang, if any other application (like a sound player) uses the audio device.

The simple solution which should eliminate the problem would be to add O_NONBLOCK flag to the open() system call which opens the audio device for sound playback. It is located in libflashplayer, and instead of: open("/dev/dsp", O_WRONLY), Flash player library should do this: open("/dev/dsp", O_WRONLY|O_NONBLOCK)

The general description of the bug can be found here: <http://bugzilla.mozilla.org/show_bug.cgi?id=58339> Possible fix suggestion <http://bugzilla.mozilla.o…how_bug.cgi?id=58339#c210>:

Proof that this has broken with latest versions of libflashplayer: <http://bugzilla.mozilla.o…how_bug.cgi?id=58339#c135>

Interesting comment outlining the importance of fixing this bug as soon as possible: <http://bugzilla.mozilla.o…how_bug.cgi?id=58339#c218>

THIS ISSUE REALLY HURTS LOTS OF USERS AND HURTS THE POPULARITY OF SWF FORMAT ITSELF!