W3C home > Mailing lists > Public > public-html@w3.org > January 2013

idea for video tag and audio tag

From: GIDEON ISAAC <mad.gideon.isaac@hotmail.com>
Date: Mon, 28 Jan 2013 19:49:56 -0500
Message-ID: <SNT135-W33C09843C36B25E409F038D01F0@phx.gbl>
To: <public-html@w3.org>

I have a website that lets people add information on videos and audio to my database.  When they enter the URL of the video, the website plays it for a second using the HTML5 video tag, which allows it to find information such as height and width and duration.  (With audio it would just be duration).  But it would also help if there was a way to get:1. video codec2. audio codec (both audio and video files have this)3. video type - though this is usually obvious.It would be great if there was a set of 3 properties that you could read in javascript to obtain this information.A reason to have this: once you have the information, you can then specify it all when you play the videos, which makes it easier for the browser.  (It also helps you know if the browser supports the video codec or type).  Thanks,Gideon Isaac 		 	   		  
Received on Tuesday, 29 January 2013 00:50:24 UTC

This archive was generated by hypermail 2.3.1 : Thursday, 29 October 2015 10:16:30 UTC