W3C home > Mailing lists > Public > whatwg@whatwg.org > June 2008

[whatwg] Javascript API to query supported codecs for <video> and <audio>

From: <j@oil21.org>
Date: Wed, 18 Jun 2008 12:18:27 +0200
Message-ID: <1213784307.13118.41.camel@BlackBook>
?On Wed, 2008-06-18 at 12:03 +0200, Anne van Kesteren wrote: 
> Why is that needed? The elements provide a way to link to multiple codecs  
> of which the user agent will then make a choice.
i do not intend to provide multiple codecs since that would require
multiple backend implementations for playing files form an offset,
encoding files in multiple codecs on the server, more disk space etc,

instead i would only use the <video> tag if the codec i use is supported
and fall back to other means via <object> / java / flash or whatever to
playback the video or indicate that the user has to install a
qt/dshow/gstreamer plugin. in an ideal world i could use <video> like i
can use <img> now and be done with it, but since this is not the case we
need tools to make the best out of <video>, not knowing what the browser
supports and just hoping that it could work is not an option.

Received on Wednesday, 18 June 2008 03:18:27 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:03 UTC