<?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>25026</bug_id>
          
          <creation_ts>2009-04-03 07:19:17 -0700</creation_ts>
          <short_desc>type attribute breaks playback of &lt;audio&gt; and &lt;source&gt; elements</short_desc>
          <delta_ts>2009-06-26 10:55:04 -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>WebKit Misc.</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>PC</rep_platform>
          <op_sys>OS X 10.5</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="John-Paul Harold">expensivelesbian</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>steven</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>116427</commentid>
    <comment_count>0</comment_count>
    <who name="John-Paul Harold">expensivelesbian</who>
    <bug_when>2009-04-03 07:19:17 -0700</bug_when>
    <thetext>as per Eric&apos;s request here, https://lists.webkit.org/pipermail/webkit-dev/2009-April/007254.html

in a simple scenario of:

&lt;audio&gt;
  &lt;source src=&quot;/media/audio/ogg/9001_10000/9807.ogg&quot; type=&quot;audio/ogg;codecs=vorbis&quot;/&gt;
  &lt;source src=&quot;/media/audio/m4a/9001_10000/9807.m4a&quot;/&gt;
&lt;/audio&gt;

the m4a audio file will play on Safari. However, add some declaration of a type attribute to the source tag, for example:

&lt;source src=&quot;/media/audio/m4a/9001_10000/9807.m4a&quot; type= &quot;audio/mp4;codecs=&amp;quot;mp4a.40.2&amp;quot;&quot;/&gt;

and audio playback will break. This happens on &lt;audio&gt; enabled Safari builds, w32 and OSX. 

I&apos;m finding this problem by following what is currently defined for &lt;audio&gt; and &lt;source&gt; usage, on the whatwg documentation site. I don&apos;t have a profound understanding of how WebKit interacts with QuickTime or other media_kits.

thanks

jp</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>128514</commentid>
    <comment_count>1</comment_count>
    <who name="Eric Carlson">eric.carlson</who>
    <bug_when>2009-06-26 10:55:04 -0700</bug_when>
    <thetext>This was fixed by http://trac.webkit.org/changeset/43972.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>