{"action":"created","comment":{"url":"https://api.github.com/repos/w3c/encrypted-media/pulls/comments/50650000","id":50650000,"diff_hunk":"@@ -2024,9 +2024,21 @@\n \n     <section>\n       <h2><a>HTMLMediaElement</a> Extensions</h2>\n+      \n+      <!-- Put all the monkey-patching here -->\n+      \n       <p>This section specifies additions to and modifications of the <a def-id=\"htmlmediaelement\"></a> [[!HTML5]] when the Encrypted Media Extensions are supported.</p>\n+      \n+      <p>This specification adds two internal values to the <a def-id=\"htmlmediaelement\"></a>: <var>waiting for key</var> which shall have a boolean value and <var>encrypted block queue</var> which shall be a queue of encrypted blocks awaiting decryption.</p>","path":"encrypted-media-respec.html","position":9,"original_position":9,"commit_id":"24ab6dc923f2e42b787e918916ab8394c98bfe78","original_commit_id":"24ab6dc923f2e42b787e918916ab8394c98bfe78","user":{"login":"cpearce","id":97721,"avatar_url":"https://avatars.githubusercontent.com/u/97721?v=3","gravatar_id":"","url":"https://api.github.com/users/cpearce","html_url":"https://github.com/cpearce","followers_url":"https://api.github.com/users/cpearce/followers","following_url":"https://api.github.com/users/cpearce/following{/other_user}","gists_url":"https://api.github.com/users/cpearce/gists{/gist_id}","starred_url":"https://api.github.com/users/cpearce/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cpearce/subscriptions","organizations_url":"https://api.github.com/users/cpearce/orgs","repos_url":"https://api.github.com/users/cpearce/repos","events_url":"https://api.github.com/users/cpearce/events{/privacy}","received_events_url":"https://api.github.com/users/cpearce/received_events","type":"User","site_admin":false},"body":"Potentially script could create a new MediaKeys for the key for which playback is blocked waiting on. Seems unlikely that would be desirable though. But if that was desired, we'd want to not be clearing the queue of encrypted blocks awaiting decryption in the setMediaKeys algorithm, so the new MediaKeys could decode where the old one left off.\r\n\r\nNeither Firefox nor Chrome (last time I checked) supports changing the MediaKeys after playback has started. It would be a bit of a hassle for us to implement, so we're unlikely to bother to implement it unless a compelling use case comes up.","created_at":"2016-01-25T02:37:02Z","updated_at":"2016-01-25T02:37:02Z","html_url":"https://github.com/w3c/encrypted-media/pull/139#discussion_r50650000","pull_request_url":"https://api.github.com/repos/w3c/encrypted-media/pulls/139","_links":{"self":{"href":"https://api.github.com/repos/w3c/encrypted-media/pulls/comments/50650000"},"html":{"href":"https://github.com/w3c/encrypted-media/pull/139#discussion_r50650000"},"pull_request":{"href":"https://api.github.com/repos/w3c/encrypted-media/pulls/139"}}},"pull_request":{"url":"https://api.github.com/repos/w3c/encrypted-media/pulls/139","id":53747685,"html_url":"https://github.com/w3c/encrypted-media/pull/139","diff_url":"https://github.com/w3c/encrypted-media/pull/139.diff","patch_url":"https://github.com/w3c/encrypted-media/pull/139.patch","issue_url":"https://api.github.com/repos/w3c/encrypted-media/issues/139","number":139,"state":"open","locked":false,"title":"Issue #100: PR to revise the way we monkey-patch HTML media algorithms","user":{"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},"body":"","created_at":"2015-12-15T19:10:56Z","updated_at":"2016-01-25T02:37:02Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a6f516347623300175363f5792971b3903d8173a","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/w3c/encrypted-media/pulls/139/commits","review_comments_url":"https://api.github.com/repos/w3c/encrypted-media/pulls/139/comments","review_comment_url":"https://api.github.com/repos/w3c/encrypted-media/pulls/comments{/number}","comments_url":"https://api.github.com/repos/w3c/encrypted-media/issues/139/comments","statuses_url":"https://api.github.com/repos/w3c/encrypted-media/statuses/24ab6dc923f2e42b787e918916ab8394c98bfe78","head":{"label":"mwatson2:issue-100","ref":"issue-100","sha":"24ab6dc923f2e42b787e918916ab8394c98bfe78","user":{"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},"repo":{"id":34878501,"name":"encrypted-media","full_name":"mwatson2/encrypted-media","owner":{"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},"private":false,"html_url":"https://github.com/mwatson2/encrypted-media","description":"Encrypted Media Extensions","fork":true,"url":"https://api.github.com/repos/mwatson2/encrypted-media","forks_url":"https://api.github.com/repos/mwatson2/encrypted-media/forks","keys_url":"https://api.github.com/repos/mwatson2/encrypted-media/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mwatson2/encrypted-media/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mwatson2/encrypted-media/teams","hooks_url":"https://api.github.com/repos/mwatson2/encrypted-media/hooks","issue_events_url":"https://api.github.com/repos/mwatson2/encrypted-media/issues/events{/number}","events_url":"https://api.github.com/repos/mwatson2/encrypted-media/events","assignees_url":"https://api.github.com/repos/mwatson2/encrypted-media/assignees{/user}","branches_url":"https://api.github.com/repos/mwatson2/encrypted-media/branches{/branch}","tags_url":"https://api.github.com/repos/mwatson2/encrypted-media/tags","blobs_url":"https://api.github.com/repos/mwatson2/encrypted-media/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mwatson2/encrypted-media/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mwatson2/encrypted-media/git/refs{/sha}","trees_url":"https://api.github.com/repos/mwatson2/encrypted-media/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mwatson2/encrypted-media/statuses/{sha}","languages_url":"https://api.github.com/repos/mwatson2/encrypted-media/languages","stargazers_url":"https://api.github.com/repos/mwatson2/encrypted-media/stargazers","contributors_url":"https://api.github.com/repos/mwatson2/encrypted-media/contributors","subscribers_url":"https://api.github.com/repos/mwatson2/encrypted-media/subscribers","subscription_url":"https://api.github.com/repos/mwatson2/encrypted-media/subscription","commits_url":"https://api.github.com/repos/mwatson2/encrypted-media/commits{/sha}","git_commits_url":"https://api.github.com/repos/mwatson2/encrypted-media/git/commits{/sha}","comments_url":"https://api.github.com/repos/mwatson2/encrypted-media/comments{/number}","issue_comment_url":"https://api.github.com/repos/mwatson2/encrypted-media/issues/comments{/number}","contents_url":"https://api.github.com/repos/mwatson2/encrypted-media/contents/{+path}","compare_url":"https://api.github.com/repos/mwatson2/encrypted-media/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mwatson2/encrypted-media/merges","archive_url":"https://api.github.com/repos/mwatson2/encrypted-media/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mwatson2/encrypted-media/downloads","issues_url":"https://api.github.com/repos/mwatson2/encrypted-media/issues{/number}","pulls_url":"https://api.github.com/repos/mwatson2/encrypted-media/pulls{/number}","milestones_url":"https://api.github.com/repos/mwatson2/encrypted-media/milestones{/number}","notifications_url":"https://api.github.com/repos/mwatson2/encrypted-media/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mwatson2/encrypted-media/labels{/name}","releases_url":"https://api.github.com/repos/mwatson2/encrypted-media/releases{/id}","deployments_url":"https://api.github.com/repos/mwatson2/encrypted-media/deployments","created_at":"2015-04-30T21:49:46Z","updated_at":"2015-04-30T22:16:01Z","pushed_at":"2015-12-15T19:07:06Z","git_url":"git://github.com/mwatson2/encrypted-media.git","ssh_url":"git@github.com:mwatson2/encrypted-media.git","clone_url":"https://github.com/mwatson2/encrypted-media.git","svn_url":"https://github.com/mwatson2/encrypted-media","homepage":null,"size":3335,"stargazers_count":0,"watchers_count":0,"language":"HTML","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"gh-pages"}},"base":{"label":"w3c:gh-pages","ref":"gh-pages","sha":"22cb8803cbae05fcacce3c63aecf24f99fdd8443","user":{"login":"w3c","id":379216,"avatar_url":"https://avatars.githubusercontent.com/u/379216?v=3","gravatar_id":"","url":"https://api.github.com/users/w3c","html_url":"https://github.com/w3c","followers_url":"https://api.github.com/users/w3c/followers","following_url":"https://api.github.com/users/w3c/following{/other_user}","gists_url":"https://api.github.com/users/w3c/gists{/gist_id}","starred_url":"https://api.github.com/users/w3c/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/w3c/subscriptions","organizations_url":"https://api.github.com/users/w3c/orgs","repos_url":"https://api.github.com/users/w3c/repos","events_url":"https://api.github.com/users/w3c/events{/privacy}","received_events_url":"https://api.github.com/users/w3c/received_events","type":"Organization","site_admin":false},"repo":{"id":26567881,"name":"encrypted-media","full_name":"w3c/encrypted-media","owner":{"login":"w3c","id":379216,"avatar_url":"https://avatars.githubusercontent.com/u/379216?v=3","gravatar_id":"","url":"https://api.github.com/users/w3c","html_url":"https://github.com/w3c","followers_url":"https://api.github.com/users/w3c/followers","following_url":"https://api.github.com/users/w3c/following{/other_user}","gists_url":"https://api.github.com/users/w3c/gists{/gist_id}","starred_url":"https://api.github.com/users/w3c/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/w3c/subscriptions","organizations_url":"https://api.github.com/users/w3c/orgs","repos_url":"https://api.github.com/users/w3c/repos","events_url":"https://api.github.com/users/w3c/events{/privacy}","received_events_url":"https://api.github.com/users/w3c/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/w3c/encrypted-media","description":"Encrypted Media Extensions","fork":false,"url":"https://api.github.com/repos/w3c/encrypted-media","forks_url":"https://api.github.com/repos/w3c/encrypted-media/forks","keys_url":"https://api.github.com/repos/w3c/encrypted-media/keys{/key_id}","collaborators_url":"https://api.github.com/repos/w3c/encrypted-media/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/w3c/encrypted-media/teams","hooks_url":"https://api.github.com/repos/w3c/encrypted-media/hooks","issue_events_url":"https://api.github.com/repos/w3c/encrypted-media/issues/events{/number}","events_url":"https://api.github.com/repos/w3c/encrypted-media/events","assignees_url":"https://api.github.com/repos/w3c/encrypted-media/assignees{/user}","branches_url":"https://api.github.com/repos/w3c/encrypted-media/branches{/branch}","tags_url":"https://api.github.com/repos/w3c/encrypted-media/tags","blobs_url":"https://api.github.com/repos/w3c/encrypted-media/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/w3c/encrypted-media/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/w3c/encrypted-media/git/refs{/sha}","trees_url":"https://api.github.com/repos/w3c/encrypted-media/git/trees{/sha}","statuses_url":"https://api.github.com/repos/w3c/encrypted-media/statuses/{sha}","languages_url":"https://api.github.com/repos/w3c/encrypted-media/languages","stargazers_url":"https://api.github.com/repos/w3c/encrypted-media/stargazers","contributors_url":"https://api.github.com/repos/w3c/encrypted-media/contributors","subscribers_url":"https://api.github.com/repos/w3c/encrypted-media/subscribers","subscription_url":"https://api.github.com/repos/w3c/encrypted-media/subscription","commits_url":"https://api.github.com/repos/w3c/encrypted-media/commits{/sha}","git_commits_url":"https://api.github.com/repos/w3c/encrypted-media/git/commits{/sha}","comments_url":"https://api.github.com/repos/w3c/encrypted-media/comments{/number}","issue_comment_url":"https://api.github.com/repos/w3c/encrypted-media/issues/comments{/number}","contents_url":"https://api.github.com/repos/w3c/encrypted-media/contents/{+path}","compare_url":"https://api.github.com/repos/w3c/encrypted-media/compare/{base}...{head}","merges_url":"https://api.github.com/repos/w3c/encrypted-media/merges","archive_url":"https://api.github.com/repos/w3c/encrypted-media/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/w3c/encrypted-media/downloads","issues_url":"https://api.github.com/repos/w3c/encrypted-media/issues{/number}","pulls_url":"https://api.github.com/repos/w3c/encrypted-media/pulls{/number}","milestones_url":"https://api.github.com/repos/w3c/encrypted-media/milestones{/number}","notifications_url":"https://api.github.com/repos/w3c/encrypted-media/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/w3c/encrypted-media/labels{/name}","releases_url":"https://api.github.com/repos/w3c/encrypted-media/releases{/id}","deployments_url":"https://api.github.com/repos/w3c/encrypted-media/deployments","created_at":"2014-11-13T03:02:06Z","updated_at":"2016-01-12T07:21:07Z","pushed_at":"2016-01-22T16:24:49Z","git_url":"git://github.com/w3c/encrypted-media.git","ssh_url":"git@github.com:w3c/encrypted-media.git","clone_url":"https://github.com/w3c/encrypted-media.git","svn_url":"https://github.com/w3c/encrypted-media","homepage":null,"size":4089,"stargazers_count":36,"watchers_count":36,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":20,"mirror_url":null,"open_issues_count":45,"forks":20,"open_issues":45,"watchers":36,"default_branch":"gh-pages"}},"_links":{"self":{"href":"https://api.github.com/repos/w3c/encrypted-media/pulls/139"},"html":{"href":"https://github.com/w3c/encrypted-media/pull/139"},"issue":{"href":"https://api.github.com/repos/w3c/encrypted-media/issues/139"},"comments":{"href":"https://api.github.com/repos/w3c/encrypted-media/issues/139/comments"},"review_comments":{"href":"https://api.github.com/repos/w3c/encrypted-media/pulls/139/comments"},"review_comment":{"href":"https://api.github.com/repos/w3c/encrypted-media/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/w3c/encrypted-media/pulls/139/commits"},"statuses":{"href":"https://api.github.com/repos/w3c/encrypted-media/statuses/24ab6dc923f2e42b787e918916ab8394c98bfe78"}}}}