- From: <bugzilla@jessica.w3.org>
- Date: Thu, 14 Nov 2013 08:28:38 +0000
- To: public-html-media@w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=23828
Bug ID: 23828
Summary: HTMLSourceElement with |keySystem| attribute should
create MediaKeys object for |keySystem|
Product: HTML WG
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P3
Component: Encrypted Media Extensions
Assignee: adrianba@microsoft.com
Reporter: ddorwin@google.com
QA Contact: public-html-bugzilla@w3.org
CC: mike@w3.org, public-html-media@w3.org
Depends on: 20336
The spec currently adds a new |keySystem| attribute to HTMLSourceElement such
that it can be used in selecting the correct source. For example:
<source keySystem="com.example.somesystem" type="video/webm">
Currently, the source is selected but the keySystem is not. This is
inconsistent and doesn't provide any way for the application to detect which
keySystem was used in selecting the source. (In the original spec, keySystem
was an attribute on the HTMLMediaElement.
I propose that when a <source> with a |keySystem| is selected, a new MediaKeys
object should be created for |keySystem| and be assigned to the
HTMLMediaElement's |keys| attribute. This is the equivalent of "video.src = new
MediaKeys(keySystem);".
This also ensures that <source> use is consistent with the best practices added
in https://www.w3.org/Bugs/Public/show_bug.cgi?id=19156#c9.
(Another option is to revisit the decision not to revert the addition of
|keySystem| in bug 20336.)
--
You are receiving this mail because:
You are on the CC list for the bug.
Received on Thursday, 14 November 2013 08:28:40 UTC