- From: <bugzilla@jessica.w3.org>
- Date: Mon, 24 Sep 2012 08:00:31 +0000
- To: public-html-bugzilla@w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=18920 --- Comment #5 from Philip Jägenstedt <philipj@opera.com> 2012-09-24 08:00:30 UTC --- (In reply to comment #4) > I think developers will want something as close as possible to the normal video > tag: video.src = '<url>' or the <source> tag which also don't requite format. > The browser "automagically" manage to load the video and detect what kind it > is. > Maybe the same detection mechanism can be used here as well? Browsers don't do the same thing here, see the note in the spec close to http://www.whatwg.org/specs/web-apps/current-work/multipage/the-video-element.html#resourceSuspend which begins "This specification does not currently say whether or how to check the MIME types of the media resources, or whether or how to perform file type sniffing using the actual file data." AFAIK, IE and Firefox currently honor Content-Type. Opera ignores it completely. I'm not entirely sure what WebKit does, I've been told "it's complicated." I don't particularly mind that there's a type attribute for addSourceBuffer, but all it would do in Opera is the equivalent of canPlayType, after which sniffing would be used to figure out the actual content. In particular the codecs don't really help knowing up front. -- Configure bugmail: https://www.w3.org/Bugs/Public/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug.
Received on Monday, 24 September 2012 08:00:36 UTC