Bug 25220 - Loading a .ogv file into Safari downloads the file instead of playing it in a media document, even if XiphQT is installed
Summary: Loading a .ogv file into Safari downloads the file instead of playing it in a...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Platform (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC Windows XP
: P2 Normal
Assignee: Nobody
URL: http://people.mozilla.com/%7Eprouget/...
Keywords: InRadar, PlatformOnly
Depends on:
Blocks:
 
Reported: 2009-04-15 14:52 PDT by Adam Roben (:aroben)
Modified: 2009-04-15 14:55 PDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Adam Roben (:aroben) 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.
Comment 1 Adam Roben (:aroben) 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.
Comment 2 Adam Roben (:aroben) 2009-04-15 14:55:43 PDT
<rdar://problem/6795385>