W3C home > Mailing lists > Public > public-html-bugzilla@w3.org > December 2012

[Bug 20335] Replace canPlayType() with static bool isTypeSupported() on MediaKeys

From: <bugzilla@jessica.w3.org>
Date: Tue, 18 Dec 2012 06:09:59 +0000
To: public-html-bugzilla@w3.org
Message-ID: <bug-20335-2486-lbskVlgx6X@http.www.w3.org/Bugs/Public/>

--- Comment #1 from Adrian Bateman [MSFT] <adrianba@microsoft.com> ---
We discussed this on the 12/11 telcon:

* At TPAC we discussed making isTypeSupported map to the equivalent MSE
functionality to avoid changes to canPlayType().

* The desire is to make it clear that just because a UA supports playback of a
certain content type with a media element it doesn't mean the UA supports
playback of that content type with EME. isTypeSupported() should address this.

* On the telcon, what we didn't agree is whether the "maybe" and "probably"
types need to be part of isTypeSupported because here we need to also take into
account the key system.

For example, video.canPlayType("video/xyz") might return "probably" but
MediaKeys.isTypeSupported("video/xyz","com.example.keysystem") might want to
return "maybe" because the key system is only supported for a profile of

The question, which we didn't reach consensus on during the call, was whether
applications would want to choose to do something different based on if they
received true/false from isTypeSypported or ""/"maybe"/"probably".

You are receiving this mail because:
You are the QA Contact for the bug.
Received on Tuesday, 18 December 2012 06:12:22 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 16:31:36 UTC