[whatwg] single step v.play();

if a video element is already playing/loaded video from URL
http://mysite.com/aaaaa.ogg
and if we want play another file http://mysite.com/bbbbb.ogg
we should do following JS code

     v = $('v1');
     v.src = "http://mysite.com/bbbbb.ogg";
     v.load();
     v.play();

Why cant it be as simple as

   v = $('v1');
   v.play("http://mysite.com/bbbbb.ogg");

Similarly for load
   v = $('v1');
   v.load("http://mysite.com/bbbbb.ogg");

TIA
-- 
Stop SPAM, dont give out emailids on any websites.

Received on Saturday, 18 April 2009 01:21:44 UTC