In Javascript you can access the HTML-5 audio object like this:
var audio = new Audio('nameOfFile.mp3');
But the equivalent syntax for the video element doesn't seem to work (I'm on Chrome).
var video = new Video('nameOfFile.ogg');
I'm curious if there is an equivalent object for the video tag that I can access via this simple new syntax.