[webkit-dev] <audio>/<source> and the type attribute
eric.carlson at mac.com
Wed Apr 1 09:23:08 PDT 2009
On Apr 1, 2009, at 2:37 AM, Harold, John-Paul wrote:
>> On Tue, 31 Mar 2009, Harold, John-Paul wrote:
>>> in my HTML5 audio markup, I have the following
>>> <source src="/media/audio/ogg/9001_10000/9807.ogg"
>>> <source src="/media/audio/m4a/9001_10000/9807.m4a"/>
>>> but I'm unsure what the equivalent type attribute for an m4a file
>>> should be. Can someone advise?
>> Does this help?:
> normally, reading the docs does help :-) However, in my example, I
> previously tried the following,
> <source src="/media/audio/m4a/9001_10000/9807.m4a" type= "audio/mp4;
> Using this, Safari stops playing the audio. It works without any type
> attribute, but that feels wrong. I'm wondering if my attempts so far
> have been using an incorrect mime-type, or/and a wrong codec
> I'm wondering if this has something to do with the issue,
Not dealing with parameters on a type attribute at all was fixed
last August, see https://bugs.webkit.org/show_bug.cgi?id=20360.
The issue you are seeing here is caused by a problem with WebKit's
interaction with QuickTime on the Mac. Can you please file a bug
report on <https://bugs.webkit.org/> ?
Thanks for pointing out the issue,
More information about the webkit-dev