<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>25220</bug_id>
          
          <creation_ts>2009-04-15 14:52:08 -0700</creation_ts>
          <short_desc>Loading a .ogv file into Safari downloads the file instead of playing it in a media document, even if XiphQT is installed</short_desc>
          <delta_ts>2009-04-15 14:55:45 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Platform</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows XP</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc>http://people.mozilla.com/%7Eprouget/videos/ogv/demo_worker.ogv</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar, PlatformOnly</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Adam Roben (:aroben)">aroben</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>eric.carlson</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>117673</commentid>
    <comment_count>0</comment_count>
    <who name="Adam Roben (:aroben)">aroben</who>
    <bug_when>2009-04-15 14:52:08 -0700</bug_when>
    <thetext>To reproduce:

1. Install XiphQT &lt;http://www.xiph.org/quicktime/&gt;
2. Go to &lt;http://people.mozilla.com/%7Eprouget/videos/ogv/demo_worker.ogv&gt;

Safari downloads the file instead of playing it in a media document.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>117674</commentid>
    <comment_count>1</comment_count>
    <who name="Adam Roben (:aroben)">aroben</who>
    <bug_when>2009-04-15 14:55:15 -0700</bug_when>
    <thetext>This file is served with a Content-Type of &quot;application/ogg&quot;.

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&apos;t start with &quot;audio/&quot; or &quot;video/&quot;, so MediaPlayer wrongly reports that QuickTime does not support this MIME type.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>117675</commentid>
    <comment_count>2</comment_count>
    <who name="Adam Roben (:aroben)">aroben</who>
    <bug_when>2009-04-15 14:55:43 -0700</bug_when>
    <thetext>&lt;rdar://problem/6795385&gt;</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>