Bug 25220

Summary: Loading a .ogv file into Safari downloads the file instead of playing it in a media document, even if XiphQT is installed
Product: WebKit Reporter: Adam Roben (:aroben) <aroben>
Component: PlatformAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: eric.carlson
Priority: P2 Keywords: InRadar, PlatformOnly
Version: 528+ (Nightly build)   
Hardware: PC   
OS: Windows XP   
URL: http://people.mozilla.com/%7Eprouget/videos/ogv/demo_worker.ogv

Adam Roben (:aroben)
Reported 2009-04-15 14:52:08 PDT
To reproduce: 1. Install XiphQT <http://www.xiph.org/quicktime/> 2. Go to <http://people.mozilla.com/%7Eprouget/videos/ogv/demo_worker.ogv> Safari downloads the file instead of playing it in a media document.
Attachments
Adam Roben (:aroben)
Comment 1 2009-04-15 14:55:15 PDT
This file is served with a Content-Type of "application/ogg". There are at least two problems here: 1. WebView::canShowMIMEType returns false for this MIME type, because it does not ask MediaPlayer whether the MIME type is supported. 2. Even if canShowMIMEType did ask MediaPlayer, MediaPlayer would claim not to support application/ogg. QuickTime reports that it supports this MIME type, but QTMovieWin filters out all MIME types that don't start with "audio/" or "video/", so MediaPlayer wrongly reports that QuickTime does not support this MIME type.
Adam Roben (:aroben)
Comment 2 2009-04-15 14:55:43 PDT
Note You need to log in before you can comment on or make changes to this bug.