{"action":"closed","issue":{"url":"https://api.github.com/repos/w3c/encrypted-media/issues/123","labels_url":"https://api.github.com/repos/w3c/encrypted-media/issues/123/labels{/name}","comments_url":"https://api.github.com/repos/w3c/encrypted-media/issues/123/comments","events_url":"https://api.github.com/repos/w3c/encrypted-media/issues/123/events","html_url":"https://github.com/w3c/encrypted-media/issues/123","id":115376965,"number":123,"title":"Add explicit NOTE to authors that calling requestMediaKeySystemAccess() may lead to user agent UI and other effects","user":{"login":"ddorwin","id":9738764,"avatar_url":"https://avatars.githubusercontent.com/u/9738764?v=3","gravatar_id":"","url":"https://api.github.com/users/ddorwin","html_url":"https://github.com/ddorwin","followers_url":"https://api.github.com/users/ddorwin/followers","following_url":"https://api.github.com/users/ddorwin/following{/other_user}","gists_url":"https://api.github.com/users/ddorwin/gists{/gist_id}","starred_url":"https://api.github.com/users/ddorwin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ddorwin/subscriptions","organizations_url":"https://api.github.com/users/ddorwin/orgs","repos_url":"https://api.github.com/users/ddorwin/repos","events_url":"https://api.github.com/users/ddorwin/events{/privacy}","received_events_url":"https://api.github.com/users/ddorwin/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/w3c/encrypted-media/labels/needs%20author%20input","name":"needs author input","color":"eb6420"},{"url":"https://api.github.com/repos/w3c/encrypted-media/labels/needs%20implementation","name":"needs implementation","color":"d4c5f9"}],"state":"closed","locked":false,"assignee":{"login":"mwatson2","id":7593867,"avatar_url":"https://avatars.githubusercontent.com/u/7593867?v=3","gravatar_id":"","url":"https://api.github.com/users/mwatson2","html_url":"https://github.com/mwatson2","followers_url":"https://api.github.com/users/mwatson2/followers","following_url":"https://api.github.com/users/mwatson2/following{/other_user}","gists_url":"https://api.github.com/users/mwatson2/gists{/gist_id}","starred_url":"https://api.github.com/users/mwatson2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mwatson2/subscriptions","organizations_url":"https://api.github.com/users/mwatson2/orgs","repos_url":"https://api.github.com/users/mwatson2/repos","events_url":"https://api.github.com/users/mwatson2/events{/privacy}","received_events_url":"https://api.github.com/users/mwatson2/received_events","type":"User","site_admin":false},"milestone":null,"comments":2,"created_at":"2015-11-05T21:18:44Z","updated_at":"2015-12-10T21:34:12Z","closed_at":"2015-12-10T21:34:12Z","body":"We have seen an instance of a third-party library calling `requestMediaKeySystemAccess()` with no apparent intent by the host site to actually use EME.\r\n\r\nIn addition to unnecessarily using resources, this may generate a user prompt, trigger download of a CDM, and/or cause other user-visible impacts on some implementations.\r\n\r\nThe algorithm and even some of the introductory text make it clear that user consent, prompting, etc. should be handled in this algorithm, but it might be worth explicitly noting this at the very top ([here](https://w3c.github.io/encrypted-media/#navigator-extension-requestmediakeysystemaccess) or [here](requestMediaKeySystemAccess)). This may be especially important since `canPlayType()` MSE's and `isTypeSupported()` do not have such side effects.\r\n\r\nThe text might be something like:\r\n>**NOTE**\r\n>Calling this method may have **user-visible effects**, including requests for user consent. This method should only be called when when the author intends to create and use a `MediaKeys` object with the provided configuration."}}