{"action":"created","comment":{"url":"https://api.github.com/repos/google/WebFundamentals/pulls/comments/91037264","pull_request_review_id":11547166,"id":91037264,"diff_hunk":"@@ -0,0 +1,329 @@\n+project_path: /web/_project.yaml\n+book_path: /web/updates/_book.yaml\n+description: ImageCapture is an API for controlling camera settings and taking photos.\n+\n+{# wf_updated_on: 2016-12-05 #}\n+{# wf_published_on: 2016-12-05 #}\n+{# wf_tags: canvas,chrome56,media,webrtc #}\n+{# wf_featured_image: /web/updates/images/2016/12/imagecapture/featured.jpg #}\n+{# wf_featured_snippet: ImageCapture is an API for controlling camera settings and taking photos. #}\n+\n+<style>\n+#ic-demo .hidden {\n+display: none;\n+}\n+\n+#ic-demo button {\n+display: block;\n+float: left;\n+margin: 0 10px 20px 0;\n+width: 120px;\n+}\n+\n+#ic-demo button:last-of-type {\n+float: none;\n+margin: 0 0 20px 0;\n+}\n+\n+#ic-demo canvas {\n+display: block;\n+margin: 0 0 20px 0;\n+max-width: 100%;\n+}\n+\n+#ic-demo img {\n+display: block;\n+margin: 0 0 20px 0;\n+}\n+\n+#ic-demo input#zoom {\n+margin: 0 0 20px 0;\n+width: 100%;\n+}\n+\n+#ic-demo select {\n+margin: 0 0 20px 0;\n+}\n+\n+#ic-demo video {\n+margin: 0 0 20px 0;\n+vertical-align: top;\n+max-width: 100%;\n+}\n+\n+</style>\n+\n+# Take Photos & Control Camera Settings {: .page-title }\n+\n+{% include \"web/_shared/contributors/samdutton.html\" %}\n+\n+`ImageCapture` is an API to capture still images and control camera settings.\n+\n+The API enables control over camera hardware features such as zoom, focus mode,\n+contrast, ISO and white balance. Best of all, `ImageCapture` enables access to the full resolution capabilities. Previous techniques for\n+taking photos on the Web have used snapshots from a video stream, which are\n+lower resolution than those available for still images.\n+\n+`ImageCapture` is available in Chrome 56 on desktop and Android as an\n+[Origin Trial](https://github.com/jpchase/OriginTrials/blob/gh-pages/developer-guide.md),\n+or in Chrome Canary on desktop and Android with **Experimental Web Platform**","path":"src/content/en/updates/2016/12/imagecapture.md","position":null,"original_position":69,"commit_id":"a49db3b6ca2aabbbd519533337af39c55bf3c8e3","original_commit_id":"bbb01510a4d2f5ba57ab19181961774df5c16007","user":{"login":"beaufortfrancois","id":634478,"avatar_url":"https://avatars.githubusercontent.com/u/634478?v=3","gravatar_id":"","url":"https://api.github.com/users/beaufortfrancois","html_url":"https://github.com/beaufortfrancois","followers_url":"https://api.github.com/users/beaufortfrancois/followers","following_url":"https://api.github.com/users/beaufortfrancois/following{/other_user}","gists_url":"https://api.github.com/users/beaufortfrancois/gists{/gist_id}","starred_url":"https://api.github.com/users/beaufortfrancois/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/beaufortfrancois/subscriptions","organizations_url":"https://api.github.com/users/beaufortfrancois/orgs","repos_url":"https://api.github.com/users/beaufortfrancois/repos","events_url":"https://api.github.com/users/beaufortfrancois/events{/privacy}","received_events_url":"https://api.github.com/users/beaufortfrancois/received_events","type":"User","site_admin":false},"body":"@samdutton Oh I know it doesn't work but it is not easy for readers to understand that this is a flag they have to enable in `chrome://flags`.\r\nSee https://developers.google.com/web/updates/2015/07/interact-with-ble-devices-on-the-web#before_we_start","created_at":"2016-12-06T09:17:10Z","updated_at":"2016-12-06T09:17:10Z","html_url":"https://github.com/google/WebFundamentals/pull/3907#discussion_r91037264","pull_request_url":"https://api.github.com/repos/google/WebFundamentals/pulls/3907","_links":{"self":{"href":"https://api.github.com/repos/google/WebFundamentals/pulls/comments/91037264"},"html":{"href":"https://github.com/google/WebFundamentals/pull/3907#discussion_r91037264"},"pull_request":{"href":"https://api.github.com/repos/google/WebFundamentals/pulls/3907"}}},"pull_request":{"url":"https://api.github.com/repos/google/WebFundamentals/pulls/3907","id":96323317,"html_url":"https://github.com/google/WebFundamentals/pull/3907","diff_url":"https://github.com/google/WebFundamentals/pull/3907.diff","patch_url":"https://github.com/google/WebFundamentals/pull/3907.patch","issue_url":"https://api.github.com/repos/google/WebFundamentals/issues/3907","number":3907,"state":"open","locked":false,"title":"Added ImageCapture WF Update article","user":{"login":"samdutton","id":205226,"avatar_url":"https://avatars.githubusercontent.com/u/205226?v=3","gravatar_id":"","url":"https://api.github.com/users/samdutton","html_url":"https://github.com/samdutton","followers_url":"https://api.github.com/users/samdutton/followers","following_url":"https://api.github.com/users/samdutton/following{/other_user}","gists_url":"https://api.github.com/users/samdutton/gists{/gist_id}","starred_url":"https://api.github.com/users/samdutton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samdutton/subscriptions","organizations_url":"https://api.github.com/users/samdutton/orgs","repos_url":"https://api.github.com/users/samdutton/repos","events_url":"https://api.github.com/users/samdutton/events{/privacy}","received_events_url":"https://api.github.com/users/samdutton/received_events","type":"User","site_admin":false},"body":"@PaulKinlan @petele @jpmedley @beaufortfrancois @miguelao  PTAL.\r\n","created_at":"2016-12-02T17:50:16Z","updated_at":"2016-12-06T09:17:10Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ee57b31cafe297c6cfd8a6c94f17c580bc1356fe","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/google/WebFundamentals/pulls/3907/commits","review_comments_url":"https://api.github.com/repos/google/WebFundamentals/pulls/3907/comments","review_comment_url":"https://api.github.com/repos/google/WebFundamentals/pulls/comments{/number}","comments_url":"https://api.github.com/repos/google/WebFundamentals/issues/3907/comments","statuses_url":"https://api.github.com/repos/google/WebFundamentals/statuses/a49db3b6ca2aabbbd519533337af39c55bf3c8e3","head":{"label":"samdutton:master","ref":"master","sha":"a49db3b6ca2aabbbd519533337af39c55bf3c8e3","user":{"login":"samdutton","id":205226,"avatar_url":"https://avatars.githubusercontent.com/u/205226?v=3","gravatar_id":"","url":"https://api.github.com/users/samdutton","html_url":"https://github.com/samdutton","followers_url":"https://api.github.com/users/samdutton/followers","following_url":"https://api.github.com/users/samdutton/following{/other_user}","gists_url":"https://api.github.com/users/samdutton/gists{/gist_id}","starred_url":"https://api.github.com/users/samdutton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samdutton/subscriptions","organizations_url":"https://api.github.com/users/samdutton/orgs","repos_url":"https://api.github.com/users/samdutton/repos","events_url":"https://api.github.com/users/samdutton/events{/privacy}","received_events_url":"https://api.github.com/users/samdutton/received_events","type":"User","site_admin":false},"repo":{"id":19378084,"name":"WebFundamentals","full_name":"samdutton/WebFundamentals","owner":{"login":"samdutton","id":205226,"avatar_url":"https://avatars.githubusercontent.com/u/205226?v=3","gravatar_id":"","url":"https://api.github.com/users/samdutton","html_url":"https://github.com/samdutton","followers_url":"https://api.github.com/users/samdutton/followers","following_url":"https://api.github.com/users/samdutton/following{/other_user}","gists_url":"https://api.github.com/users/samdutton/gists{/gist_id}","starred_url":"https://api.github.com/users/samdutton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samdutton/subscriptions","organizations_url":"https://api.github.com/users/samdutton/orgs","repos_url":"https://api.github.com/users/samdutton/repos","events_url":"https://api.github.com/users/samdutton/events{/privacy}","received_events_url":"https://api.github.com/users/samdutton/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/samdutton/WebFundamentals","description":null,"fork":true,"url":"https://api.github.com/repos/samdutton/WebFundamentals","forks_url":"https://api.github.com/repos/samdutton/WebFundamentals/forks","keys_url":"https://api.github.com/repos/samdutton/WebFundamentals/keys{/key_id}","collaborators_url":"https://api.github.com/repos/samdutton/WebFundamentals/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/samdutton/WebFundamentals/teams","hooks_url":"https://api.github.com/repos/samdutton/WebFundamentals/hooks","issue_events_url":"https://api.github.com/repos/samdutton/WebFundamentals/issues/events{/number}","events_url":"https://api.github.com/repos/samdutton/WebFundamentals/events","assignees_url":"https://api.github.com/repos/samdutton/WebFundamentals/assignees{/user}","branches_url":"https://api.github.com/repos/samdutton/WebFundamentals/branches{/branch}","tags_url":"https://api.github.com/repos/samdutton/WebFundamentals/tags","blobs_url":"https://api.github.com/repos/samdutton/WebFundamentals/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/samdutton/WebFundamentals/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/samdutton/WebFundamentals/git/refs{/sha}","trees_url":"https://api.github.com/repos/samdutton/WebFundamentals/git/trees{/sha}","statuses_url":"https://api.github.com/repos/samdutton/WebFundamentals/statuses/{sha}","languages_url":"https://api.github.com/repos/samdutton/WebFundamentals/languages","stargazers_url":"https://api.github.com/repos/samdutton/WebFundamentals/stargazers","contributors_url":"https://api.github.com/repos/samdutton/WebFundamentals/contributors","subscribers_url":"https://api.github.com/repos/samdutton/WebFundamentals/subscribers","subscription_url":"https://api.github.com/repos/samdutton/WebFundamentals/subscription","commits_url":"https://api.github.com/repos/samdutton/WebFundamentals/commits{/sha}","git_commits_url":"https://api.github.com/repos/samdutton/WebFundamentals/git/commits{/sha}","comments_url":"https://api.github.com/repos/samdutton/WebFundamentals/comments{/number}","issue_comment_url":"https://api.github.com/repos/samdutton/WebFundamentals/issues/comments{/number}","contents_url":"https://api.github.com/repos/samdutton/WebFundamentals/contents/{+path}","compare_url":"https://api.github.com/repos/samdutton/WebFundamentals/compare/{base}...{head}","merges_url":"https://api.github.com/repos/samdutton/WebFundamentals/merges","archive_url":"https://api.github.com/repos/samdutton/WebFundamentals/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/samdutton/WebFundamentals/downloads","issues_url":"https://api.github.com/repos/samdutton/WebFundamentals/issues{/number}","pulls_url":"https://api.github.com/repos/samdutton/WebFundamentals/pulls{/number}","milestones_url":"https://api.github.com/repos/samdutton/WebFundamentals/milestones{/number}","notifications_url":"https://api.github.com/repos/samdutton/WebFundamentals/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/samdutton/WebFundamentals/labels{/name}","releases_url":"https://api.github.com/repos/samdutton/WebFundamentals/releases{/id}","deployments_url":"https://api.github.com/repos/samdutton/WebFundamentals/deployments","created_at":"2014-05-02T14:42:42Z","updated_at":"2016-01-12T18:12:47Z","pushed_at":"2016-12-06T08:31:00Z","git_url":"git://github.com/samdutton/WebFundamentals.git","ssh_url":"git@github.com:samdutton/WebFundamentals.git","clone_url":"https://github.com/samdutton/WebFundamentals.git","svn_url":"https://github.com/samdutton/WebFundamentals","homepage":"http://developers.google.com/web/fundamentals","size":1128652,"stargazers_count":0,"watchers_count":0,"language":"HTML","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":0,"forks":2,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"google:master","ref":"master","sha":"abf80e01efc049bdfc2aecbed9658e879a676b79","user":{"login":"google","id":1342004,"avatar_url":"https://avatars.githubusercontent.com/u/1342004?v=3","gravatar_id":"","url":"https://api.github.com/users/google","html_url":"https://github.com/google","followers_url":"https://api.github.com/users/google/followers","following_url":"https://api.github.com/users/google/following{/other_user}","gists_url":"https://api.github.com/users/google/gists{/gist_id}","starred_url":"https://api.github.com/users/google/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/google/subscriptions","organizations_url":"https://api.github.com/users/google/orgs","repos_url":"https://api.github.com/users/google/repos","events_url":"https://api.github.com/users/google/events{/privacy}","received_events_url":"https://api.github.com/users/google/received_events","type":"Organization","site_admin":false},"repo":{"id":19249835,"name":"WebFundamentals","full_name":"google/WebFundamentals","owner":{"login":"google","id":1342004,"avatar_url":"https://avatars.githubusercontent.com/u/1342004?v=3","gravatar_id":"","url":"https://api.github.com/users/google","html_url":"https://github.com/google","followers_url":"https://api.github.com/users/google/followers","following_url":"https://api.github.com/users/google/following{/other_user}","gists_url":"https://api.github.com/users/google/gists{/gist_id}","starred_url":"https://api.github.com/users/google/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/google/subscriptions","organizations_url":"https://api.github.com/users/google/orgs","repos_url":"https://api.github.com/users/google/repos","events_url":"https://api.github.com/users/google/events{/privacy}","received_events_url":"https://api.github.com/users/google/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/google/WebFundamentals","description":"Best practices for modern web development","fork":false,"url":"https://api.github.com/repos/google/WebFundamentals","forks_url":"https://api.github.com/repos/google/WebFundamentals/forks","keys_url":"https://api.github.com/repos/google/WebFundamentals/keys{/key_id}","collaborators_url":"https://api.github.com/repos/google/WebFundamentals/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/google/WebFundamentals/teams","hooks_url":"https://api.github.com/repos/google/WebFundamentals/hooks","issue_events_url":"https://api.github.com/repos/google/WebFundamentals/issues/events{/number}","events_url":"https://api.github.com/repos/google/WebFundamentals/events","assignees_url":"https://api.github.com/repos/google/WebFundamentals/assignees{/user}","branches_url":"https://api.github.com/repos/google/WebFundamentals/branches{/branch}","tags_url":"https://api.github.com/repos/google/WebFundamentals/tags","blobs_url":"https://api.github.com/repos/google/WebFundamentals/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/google/WebFundamentals/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/google/WebFundamentals/git/refs{/sha}","trees_url":"https://api.github.com/repos/google/WebFundamentals/git/trees{/sha}","statuses_url":"https://api.github.com/repos/google/WebFundamentals/statuses/{sha}","languages_url":"https://api.github.com/repos/google/WebFundamentals/languages","stargazers_url":"https://api.github.com/repos/google/WebFundamentals/stargazers","contributors_url":"https://api.github.com/repos/google/WebFundamentals/contributors","subscribers_url":"https://api.github.com/repos/google/WebFundamentals/subscribers","subscription_url":"https://api.github.com/repos/google/WebFundamentals/subscription","commits_url":"https://api.github.com/repos/google/WebFundamentals/commits{/sha}","git_commits_url":"https://api.github.com/repos/google/WebFundamentals/git/commits{/sha}","comments_url":"https://api.github.com/repos/google/WebFundamentals/comments{/number}","issue_comment_url":"https://api.github.com/repos/google/WebFundamentals/issues/comments{/number}","contents_url":"https://api.github.com/repos/google/WebFundamentals/contents/{+path}","compare_url":"https://api.github.com/repos/google/WebFundamentals/compare/{base}...{head}","merges_url":"https://api.github.com/repos/google/WebFundamentals/merges","archive_url":"https://api.github.com/repos/google/WebFundamentals/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/google/WebFundamentals/downloads","issues_url":"https://api.github.com/repos/google/WebFundamentals/issues{/number}","pulls_url":"https://api.github.com/repos/google/WebFundamentals/pulls{/number}","milestones_url":"https://api.github.com/repos/google/WebFundamentals/milestones{/number}","notifications_url":"https://api.github.com/repos/google/WebFundamentals/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/google/WebFundamentals/labels{/name}","releases_url":"https://api.github.com/repos/google/WebFundamentals/releases{/id}","deployments_url":"https://api.github.com/repos/google/WebFundamentals/deployments","created_at":"2014-04-28T18:45:45Z","updated_at":"2016-12-06T08:20:39Z","pushed_at":"2016-12-06T08:31:02Z","git_url":"git://github.com/google/WebFundamentals.git","ssh_url":"git@github.com:google/WebFundamentals.git","clone_url":"https://github.com/google/WebFundamentals.git","svn_url":"https://github.com/google/WebFundamentals","homepage":"https://developers.google.com/web/fundamentals","size":1186779,"stargazers_count":6778,"watchers_count":6778,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1282,"mirror_url":null,"open_issues_count":116,"forks":1282,"open_issues":116,"watchers":6778,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/google/WebFundamentals/pulls/3907"},"html":{"href":"https://github.com/google/WebFundamentals/pull/3907"},"issue":{"href":"https://api.github.com/repos/google/WebFundamentals/issues/3907"},"comments":{"href":"https://api.github.com/repos/google/WebFundamentals/issues/3907/comments"},"review_comments":{"href":"https://api.github.com/repos/google/WebFundamentals/pulls/3907/comments"},"review_comment":{"href":"https://api.github.com/repos/google/WebFundamentals/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/google/WebFundamentals/pulls/3907/commits"},"statuses":{"href":"https://api.github.com/repos/google/WebFundamentals/statuses/a49db3b6ca2aabbbd519533337af39c55bf3c8e3"}}}}
{"actor":{"display_login":"beaufortfrancois"}}