Re: [whatwg] single step v.play();

2009-04-20 Thread Philip Jägenstedt
On Sat, 18 Apr 2009 10:21:44 +0200, Biju bijumaill...@gmail.com wrote: if a video element is already playing/loaded video from URL http://mysite.com/a.ogg and if we want play another file http://mysite.com/b.ogg we should do following JS code v = $('v1'); v.src =

[whatwg] single step v.play();

2009-04-20 Thread Biju
On Mon, Apr 20, 2009 at 9:37 AM, Philip Jägenstedt phil...@opera.com wrote: Since static markup uses the src attribute it needs to be supported via the DOM, so adding a parameter to load/play would only mean that there are several ways to do the same thing. I'm not sure replacing an already

Re: [whatwg] single step v.play();

2009-04-20 Thread Philip Jägenstedt
On Mon, 20 Apr 2009 10:14:14 +0200, Biju bijumaill...@gmail.com wrote: On Mon, Apr 20, 2009 at 9:37 AM, Philip Jägenstedt phil...@opera.com wrote: Since static markup uses the src attribute it needs to be supported via the DOM, so adding a parameter to load/play would only mean that there

Re: [whatwg] single step v.play();

2009-04-20 Thread Biju
On Mon, Apr 20, 2009 at 7:01 AM, Philip Jägenstedt phil...@opera.com wrote: element). Given the already ridiculous complexity of media element's loading behavior I'm not sure adding more equivalent syntax will help matters. I am sorry if I am missing something, how do adding it make spec

[whatwg] single step v.play();

2009-04-18 Thread Biju
if a video element is already playing/loaded video from URL http://mysite.com/a.ogg and if we want play another file http://mysite.com/b.ogg we should do following JS code v = $('v1'); v.src = http://mysite.com/b.ogg;; v.load(); v.play(); Why cant it be as simple