Bug 44846 - Question mark QuickTime icon when navigating to this MP3 file
Summary: Question mark QuickTime icon when navigating to this MP3 file
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Media (show other bugs)
Version: 528+ (Nightly build)
Hardware: Mac OS X 10.6
: P2 Normal
Assignee: Eric Carlson
URL: http://www.davidlowemusic.com/cgi-bin...
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-29 17:24 PDT by mitz
Modified: 2010-09-01 19:15 PDT (History)
1 user (show)

See Also:


Attachments
Proposed patch (1.49 KB, patch)
2010-09-01 14:42 PDT, Eric Carlson
darin: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description mitz 2010-08-29 17:24:32 PDT
Loading the URL in Safari results in a the audio controls showing briefly, then being replaced by the QuickTime logo with a question mark. Opening the URL in QuickTime player works as expected. The file is served as audio/x-mpeg.
Comment 1 Eric Carlson 2010-08-30 07:28:28 PDT
This doesn't play because the movie created by QTKit has a 'tmet' track.  MediaPlayerPrivate::disableUnsupportedTracks doesn't recognize this track type so it disables it and turns control over to the QuickTime plug-in because the policy is that any movie a with unknown tracks in a media document should fall back to a plug-in. 

In this case there is no reason to disable 'tmet' tracks as they have just meta data, so we should add this media type to the allowed types table.
Comment 2 Eric Carlson 2010-08-30 07:32:25 PDT
This url does work in an <audio> or <video> element, although QTKit identifies it as a live stream even though it is just an MP3 file. Maybe this is because the server doesn't return a Content-Length header:

eric% curl -I "http://www.davidlowemusic.com/cgi-bin/adminfiles.cgi?fa=play&fileid=631&gname=productfiles"
HTTP/1.1 200 OK
Date: Mon, 30 Aug 2010 14:15:40 GMT
Server: Apache/2.0.52 (Red Hat)
Connection: close
Content-Type: audio/x-mpeg
Comment 3 Eric Carlson 2010-09-01 14:42:37 PDT
Created attachment 66277 [details]
Proposed patch
Comment 4 Eric Carlson 2010-09-01 19:15:10 PDT
http://trac.webkit.org/changeset/66632