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

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

--- 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
"video/xyz".

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