- From: <bugzilla@jessica.w3.org>
- Date: Tue, 16 Nov 2010 18:37:31 +0000
- To: public-html@w3.org
http://www.w3.org/Bugs/Public/show_bug.cgi?id=11327 Summary: media.canPlayType() should be generalized Product: HTML WG Version: unspecified Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2 Component: HTML5 spec (editor: Ian Hickson) AssignedTo: ian@hixie.ch ReportedBy: glenn@skynav.com QAContact: public-html-bugzilla@w3.org CC: mike@w3.org, public-html-wg-issue-tracking@w3.org, public-html@w3.org The media.canPlayType() should be generalized to support querying for support for image (and perhaps other content type decoding/presentation) support as well as A/V media types. Furthermore, it seems odd to define on HTMLMediaType, when it is more specifically a property of the user agent. I suggest that this method be removed, and a new method canSupportType(String mimeMediaType) be defined on the Window object instead; alternatively, that an HTMLUserAgentCapabilities interface be defined and implemented by the same object that implements the Window interface, in which case canSupportType() could be defined on this new HTMLUserAgentCapabilities interface. It would also be useful to define a canSupportScheme(String uriScheme) method on this same HTMLUserAgentCapabilities interface, so that script content can learn what URI schemes (and protocols) are supported by the UA. Regards, Glenn -- Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
Received on Tuesday, 16 November 2010 18:37:33 UTC