[Bug 24292] Video and Audio constructors should accept File and Blob.

https://www.w3.org/Bugs/Public/show_bug.cgi?id=24292

--- Comment #5 from Philip Jägenstedt <philipj@opera.com> ---
(In reply to oao.hikaru.oao from comment #3)
> (In reply to Philip Jägenstedt from comment #1)
> > The HTMLMediaElement.srcObject suggestion in bug 23775 is relevant.
> > 
> > Also note that there is no Video constructor, not that it matters.
> 
> Thanks.
> That mean we can write like this ?
> 
> var audio = new Audio();
> audio.srcObject = file;

Yes, I believe that's how it's supposed to work.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Wednesday, 15 January 2014 03:28:28 UTC