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

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

            Bug ID: 24292
           Summary: Video and Audio constructors should accept File and
                    Blob.
           Product: HTML WG
           Version: unspecified
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: HTML5 spec
          Assignee: dave.null@w3.org
          Reporter: oao.hikaru.oao@gmail.com
        QA Contact: public-html-bugzilla@w3.org
                CC: mike@w3.org, public-html-admin@w3.org,
                    public-html-wg-issue-tracking@w3.org

Now, when use `File` to `Audio`, we should write like this,

var audio = new Audio(URL.createObjectURL(file));

but, that is redundancy, and `createObjectURL` need `revokeObjectURL` to
release it's data.

Therefore, we should be writable like this,

var audio = new Audio(file);

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Received on Tuesday, 14 January 2014 16:52:42 UTC