[Bug 24874] Positive isTypeSupported() may be misleading (MSE vs. .src=)

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

Joe Steele <steele@adobe.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |steele@adobe.com

--- Comment #4 from Joe Steele <steele@adobe.com> ---
(In reply to David Dorwin from comment #3)
> We need to:
> A) Decide whether this issue is worth addressing

I think this is worth addressing. This would make for less surprising behavior
when using EME I think.

> B) If so, determine how to address it.
> C) Define the behavior of setting .src and calling setMediaKeys() when the
> combination is not supported (see comment #1).

For when video.setMediaKeys() is called and video.src is already set to a
source that does not support EME, sending NOT_SUPPORTED_ERR makes sense to me.

For when an attempt is made to set video.src to a source that does not support
EME when video.mediaKeys is already set: I think when video.src is set, we
should always clear the current mediaKeys (and fire the close() event if we end
up doing that).

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Friday, 7 November 2014 02:05:09 UTC