[whatwg] Scripted querying of <video> capabilities

Kristof Zelechovski giecrilj at stegny.2a.pl
Tue Aug 12 07:13:12 PDT 2008

Why do we need an API to test UA media capabilities?  What purpose would
such an API serve except for displaying the media to the user - a task which
can already be achieved without a dedicated API?


-----Original Message-----
From: Joao Eiras [mailto:joao.eiras at gmail.com] 
Sent: Tuesday, August 12, 2008 3:58 PM
To: Chris Double; Kristof Zelechovski
Cc: WHATWG List; Tim Starling
Subject: Re: [whatwg] Scripted querying of <video> capabilities

But I agree though that we need an API to test UA capabilities, because  
the list of supported video and audio formats can grow, and have several  
different implementations in different states in different UAs, therefore  
hiding this information from the web page would result in more bloated  
javascript code doing more broken browser sniffing.

More information about the whatwg mailing list