Re: Codecs for <video> and <audio>

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.

Chris.
-- 
http://www.bluishcoder.co.nz

Received on Friday, 3 July 2009 02:30:49 UTC