idea for video tag and audio tag

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