W3C home > Mailing lists > Public > public-html@w3.org > July 2009

Re: Codecs for <video> and <audio>

From: Chris Double <chris.double@double.co.nz>
Date: Fri, 3 Jul 2009 14:30:12 +1200
Message-ID: <c2e346f90907021930q10d92d49u8fc91ac9f8e2aea5@mail.gmail.com>
To: Maciej Stachowiak <mjs@apple.com>
Cc: public-html@w3.org
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

This archive was generated by hypermail 2.3.1 : Thursday, 29 October 2015 10:15:47 UTC