Re: Codecs for <video> and <audio>

On Jul 2, 2009, at 7:30 PM, Chris Double wrote:

> On 7/3/09, Maciej Stachowiak <mjs@apple.com> wrote:
>>
>> If all or a significant proportion of Web video goes Ogg-only, it  
>> will
>> deliver a second-rate experience on mobile devices for the  
>> foreseeable
>> future. Lack of hardware support means that this is not an easily  
>> solvable
>> problem.
>
> Those sites that care about performance on Mobile can provide an
> alternative file that uses a codec that the mobile browser supports
> that can provide this improved performance by doing:
>
> <video>
>   <source src="example-video.mp4" type="video/mp4" />
>   <source src="example-video.ogv" type="video/ogg" />
> </video>
>
> They'll probably want to provide a different file anyway to account
> for the Mobile devices screen size, different bandwidth speed (GPRS vs
> other), etc.

Sites will soon be able to do this anyway, if they don't care about IE  
or older browser versions. It doesn't require a spec change to enable  
this markup. And in practice, a spec change without any other  
(licensing or technology) changes, won't enable dropping one source or  
the other, unless site authors are willing to further restrict the set  
of browsers that can handle their content.

Regards,
Maciej

Received on Friday, 3 July 2009 02:43:37 UTC