[webkit-dev] <audio>/<source> and the type attribute

Ian Hickson ian at hixie.ch
Tue Mar 31 12:55:48 PDT 2009


On Tue, 31 Mar 2009, Harold, John-Paul wrote:
> 
> in my HTML5 audio markup, I have the following
> 
> <audio>
>   <source src="/media/audio/ogg/9001_10000/9807.ogg" type="audio/ogg;
> codecs=vorbis"/>
>   <source src="/media/audio/m4a/9001_10000/9807.m4a"/>
> </audio>
> 
> but I'm unsure what the equivalent type attribute for an m4a file should
> be. Can someone advise?

Does this help?:

   http://www.whatwg.org/specs/web-apps/current-work/#attr-source-type

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'


More information about the webkit-dev mailing list