Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Quicktime Plugin/Firefox stops playing mp3 after a few seconds

We've run into a problem with Quicktime Player in Firefox (Win XP) only playing the first few seconds of an mp3. It doesn't happen with all mp3s, but out of the five we've tested four showed this problem... only one of the five played through to the end.

When accessing the mp3 file, quicktime plugin loads with the big Q, takes a few seconds (i.e. seems to be downloading the full file), displays the controller, then starts playing. The progress bar moves quickly to the right and stops when it reaches the far right. For some of the mp3s it's only a second or two, for one it is about 8 seconds. The ones that only play for a second or two are regular music mp3s of about 3-5 minutes in length. The one that plays 8 seconds, is really 17 minutes, 42 seconds long.

All of these seem to play fine with the Quicktime plugin in IE. And all the files play fine in iTunes and Quicktime as local files as well as streaming.

The music files are mp3s generated by iTunes using the "Convert to MP3" function (original files are m4a files from the iTunes store).

The longer file (a podcast) was generated by a third party, so I'm not sure what tools were used to generate it, however I've tested two versions generated by iTunes that also did not play past 8 seconds:

- Original encoding with ID3 tags converted to a different version by iTunes
- New encoding generated by iTunes using the "Convert to MP3" function

(FWIW, renaming the files doesn't make a difference either.)

I have confirmed that this is happening for a colleague of mine on his computer as well.

Reloading the page/mp3 file (F5), force-reload (control-F5), disabling the cache (using Web-Developer Plugin, or Firebug), clearing the cache (through Firefox's Options->Advanced->Network->Offline Storage settings, or through "Clear Recent History") ... none of these seem to make a difference.

However, I did notice that for the files that weren't working, using Firebug's Net panel, it looks like the plugin starts *and finishes* playing the file before the file is completely downloaded (i.e. the player stops playing and the Net panel still shows the file downloading -- usually for a few seconds more before it is completely downloaded).

(And now the one mp3 file that was playing fine is no longer playing. It too just plays a second or two then stops...)

This is with Firefox 3.6.3 and Quicktime Plugin 7.6.6 on Windows XP Pro.

---Lawrence

Message was edited by: lcoffin

Windows XP Pro

Posted on Apr 14, 2010 12:24 PM

Reply
13 replies

Apr 14, 2010 12:50 PM in response to QuickTimeKirk

Podcast (original): http://council.cio.com/podcast/temp.mp3
Podcast (re-encoded by iTunes): http://council.cio.com/podcast/temp3.mp3


Music MP3s that aren't working for me:

http://council.cio.com/podcast/findyouregone.mp3
http://council.cio.com/podcast/findyourehere.mp3
http://council.cio.com/podcast/youvideoversion.mp3


Music MP3 that is working:

http://council.cio.com/podcast/twoareone.mp3

(Oh, and ignore my comment earlier that this mp3 stopped working. I got confused back there with all the various tests... This file does play fully. The player also waits until the file is fully downloaded before starting to play... As opposed to the others where the player starts and ends playing before they are downloaded completely.)

Apr 14, 2010 1:09 PM in response to lcoffin

I think I found the problem... We had gzip compression turned on for our site and had not excluded mp3s. I added a rule to not gzip mp3s and those files now work.

Still seems like a bug though -- the content encoding shouldn't affect play, should it? It doesn't in IE and it doesn't affect all files, so something's inconsistent.

(Could it also be chunking that is causing the problem? Here are the return headers for the same file, with gzip and with the rule to exclude mp3s:

== With gzip ==
Date: Wed, 14 Apr 2010 19:52:13 GMT
Server: Apache/2.2.11 (Unix) mod_ssl/2.2.11 OpenSSL/0.9.8g PHP/5.2.9
Last-Modified: Thu, 02 Jul 2009 13:00:15 GMT
Etag: "fe090-5f3116-46db89ef355c0"-gzip
Accept-Ranges: bytes
Vary: Accept-Encoding,User-Agent
Content-Encoding: gzip
Connection: close
Transfer-Encoding: chunked
Content-Type: audio/mpeg

== With "SetEnvIfNoCase Request_URI \.(?:mp3)$ no-gzip dont-vary" Apache config rule ==
Date: Wed, 14 Apr 2010 19:54:10 GMT
Server: Apache/2.2.11 (Unix) mod_ssl/2.2.11 OpenSSL/0.9.8g PHP/5.2.9
Last-Modified: Thu, 02 Jul 2009 13:00:15 GMT
Etag: "fe090-5f3116-46db89ef355c0"
Accept-Ranges: bytes
Content-Length: 6238486
Connection: close
Content-Type: audio/mpeg

)

Message was edited by: lcoffin

Apr 14, 2010 1:07 PM in response to lcoffin

Your posted links are to direct to the .mp3 files and do not include any instructions for any browser plug-in.
You need some page code to "call" a browser plug-in (your choice for .mp3 files) before you can expect them to work. The code would allow a "progressive" download (plays while it continues to download).
http://developer.apple.com/internet/ieembedprep.html
The "external javascript" method is best.
http://www.qtbridge.com/pageot/pageot.html
Free software to help write perfect code.

Quicktime Plugin/Firefox stops playing mp3 after a few seconds

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.