Flash module add-on: Choppy audio with MP3 player?

Flash module add-on: Choppy audio with MP3 player?

Brent Morrison -
回帖数:9
I'm experiencing a puzzling problem with the Flash MP3 player, and hoping that someone may have some ideas on it.

When a quiz comes up, I can monitor the download progress of each file via the Flash player's progress bar.  At any point during or after the download, I can click on the play button and only hear about half a second of audio.  If I move the mouse cursor away from the flash component and then back again, I can hear another half a second.  So if I keep moving the mouse over the button, the playback will be fairly smooth, but if at any time I stop moving the cursor, playback will stop as well.

A couple of notes:  This seems to be site-dependent; some of my sites experience this problem, others never do.  I don't think it's a matter of those sites having slower connections, as the download progress bars show that even fully-downloaded audio has the same problem.  And it does not seem to depend on the versions of Flash or web browsers; the sites that have this problem do so with IE and Firefox, and with Flash 7 and 8.

Has anyone else seen something similar before?  Or any theories on what could be happening?
回复Brent Morrison

Re: Flash module add-on: Choppy audio with MP3 player?

Helen Foster -
Core developers的头像 Documentation writers的头像 Moodle HQ的头像 Particularly helpful Moodlers的头像 Plugin developers的头像 Testers的头像 Translators的头像
Hmm, this sound very strange! You seem to have checked all possible options. The only clue is that the problem is site-dependent. thoughtful Can you think of any similarities between the sites which display the problem compared with the sites that don't? If you've not done so already, perhaps you could try downloading a replacement mp3 player?
回复Helen Foster

Re: Flash module add-on: Choppy audio with MP3 player?

Brent Morrison -
I've tried both the 1.5 mp3 player and the older 1.3 version.  Do you know of any others I could download?
回复Brent Morrison

Re: Flash module add-on: Choppy audio with MP3 player?

Kristian Besley -

Hi Brent,

If the file is working on some servers but not others, it could be Flash 8's new security settings. Is the MP3 file on a local server or is it elsewhere?

Do you have Flash 8 plugin?

Kris

回复Kristian Besley

Re: Flash module add-on: Choppy audio with MP3 player?

Brent Morrison -
The sites with the problem appear to all be running Flash 8 (plugin).  I hadn't thought about the security settings; I'll look into that.

The MP3 files are on a remote server.
回复Brent Morrison

Re: Flash module add-on: Choppy audio with MP3 player?

Kristian Besley -

if they are on a remote server that looks like the problem.

you'll have to write a cross-domain policy file to allow server a to access server b.

回复Kristian Besley

Re: Flash module add-on: Choppy audio with MP3 player?

Timothy Takemoto -
Dear Kristian Besley
How does one write a cross domain policy file?
回复Timothy Takemoto

Re: Flash module add-on: Choppy audio with MP3 player?

Helen Foster -
Core developers的头像 Documentation writers的头像 Moodle HQ的头像 Particularly helpful Moodlers的头像 Plugin developers的头像 Testers的头像 Translators的头像
Hi Tim,

Please check MoodleDocs MP3 player for details of how to create a cross-domain policy.
回复Helen Foster

Re: Flash module add-on: Choppy audio with MP3 player?

Timothy Takemoto -
Thanks Helen.
I tried that but it turned out to be a strange upload wherein the files were corrupted. Now that they are re uploaded they work fine.
Tim
回复Kristian Besley

Re: Flash module add-on: Choppy audio with MP3 player?

Brent Morrison -
I was finally able to get access to the machines and try out some things.  Here's what I found out.

The main thing was to use the Flash Setting Manager and turn the Global Storage Settings up to at least 1 MB.  Doing that enabled smooth audio in IE with both the 1.3 and 1.5 MP3 players.  I was unable to get smooth audio in Mozilla with the 1.3 player, but switching to the 1.5 version took care of that issue.

Unfortunately for me, my teachers greatly prefer the look of the older MP3 player, so for now we are not supporting Mozilla/Firefox.  Maybe I'll have to compile my own version of the 1.5 player with the progress bar removed.