{"action":"created","issue":{"url":"https://api.github.com/repos/chrsmithdemos/html5rocks/issues/185","labels_url":"https://api.github.com/repos/chrsmithdemos/html5rocks/issues/185/labels{/name}","comments_url":"https://api.github.com/repos/chrsmithdemos/html5rocks/issues/185/comments","events_url":"https://api.github.com/repos/chrsmithdemos/html5rocks/issues/185/events","html_url":"https://github.com/chrsmithdemos/html5rocks/issues/185","id":59538561,"number":185,"title":"Slides, page #22 - getElementById(video) - should be getElementByTag('video')?","user":{"login":"GoogleCodeExporter","id":9614759,"avatar_url":"https://avatars.githubusercontent.com/u/9614759?v=3","gravatar_id":"","url":"https://api.github.com/users/GoogleCodeExporter","html_url":"https://github.com/GoogleCodeExporter","followers_url":"https://api.github.com/users/GoogleCodeExporter/followers","following_url":"https://api.github.com/users/GoogleCodeExporter/following{/other_user}","gists_url":"https://api.github.com/users/GoogleCodeExporter/gists{/gist_id}","starred_url":"https://api.github.com/users/GoogleCodeExporter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GoogleCodeExporter/subscriptions","organizations_url":"https://api.github.com/users/GoogleCodeExporter/orgs","repos_url":"https://api.github.com/users/GoogleCodeExporter/repos","events_url":"https://api.github.com/users/GoogleCodeExporter/events{/privacy}","received_events_url":"https://api.github.com/users/GoogleCodeExporter/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/chrsmithdemos/html5rocks/labels/auto-migrated","name":"auto-migrated","color":"ededed"},{"url":"https://api.github.com/repos/chrsmithdemos/html5rocks/labels/Milestone-3","name":"Milestone-3","color":"ededed"},{"url":"https://api.github.com/repos/chrsmithdemos/html5rocks/labels/Priority-Medium","name":"Priority-Medium","color":"ededed"},{"url":"https://api.github.com/repos/chrsmithdemos/html5rocks/labels/Slides","name":"Slides","color":"ededed"},{"url":"https://api.github.com/repos/chrsmithdemos/html5rocks/labels/Type-Defect","name":"Type-Defect","color":"ededed"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-03-02T19:56:37Z","updated_at":"2015-03-02T19:56:38Z","closed_at":"2015-03-02T19:56:38Z","body":"```\nPlease describe the issue:\nJust wondering, if the JavaScript selector used on page #22 on the \nslides.html5rocks.com is correct:\nit says:\n<video src=\"movie.mp4\" autoplay controls></video>\ndocument.getElementById(\"video\").play();\n\nbut shouldn't it be either\n<video id=\"video\" src=\"movie.mp4\" autoplay controls></video>\ndocument.getElementById(\"video\").play();\n\nor \n<video src=\"movie.mp4\" autoplay controls></video>\ndocument.getElementByTag(\"video\").play();\n\n\nPlease provide any additional information below.\n\n```\n\nOriginal issue reported on code.google.com by `juwal...@gmail.com` on 26 Aug 2010 at 10:31"},"comment":{"url":"https://api.github.com/repos/chrsmithdemos/html5rocks/issues/comments/76799785","html_url":"https://github.com/chrsmithdemos/html5rocks/issues/185#issuecomment-76799785","issue_url":"https://api.github.com/repos/chrsmithdemos/html5rocks/issues/185","id":76799785,"user":{"login":"GoogleCodeExporter","id":9614759,"avatar_url":"https://avatars.githubusercontent.com/u/9614759?v=3","gravatar_id":"","url":"https://api.github.com/users/GoogleCodeExporter","html_url":"https://github.com/GoogleCodeExporter","followers_url":"https://api.github.com/users/GoogleCodeExporter/followers","following_url":"https://api.github.com/users/GoogleCodeExporter/following{/other_user}","gists_url":"https://api.github.com/users/GoogleCodeExporter/gists{/gist_id}","starred_url":"https://api.github.com/users/GoogleCodeExporter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GoogleCodeExporter/subscriptions","organizations_url":"https://api.github.com/users/GoogleCodeExporter/orgs","repos_url":"https://api.github.com/users/GoogleCodeExporter/repos","events_url":"https://api.github.com/users/GoogleCodeExporter/events{/privacy}","received_events_url":"https://api.github.com/users/GoogleCodeExporter/received_events","type":"User","site_admin":false},"created_at":"2015-03-02T19:56:38Z","updated_at":"2015-03-02T19:56:38Z","body":"```\nYou're right. Technically the snippet on those slides is not accurate. I think \nwe meant it as a simple example, but we'll update it to be explicit and 100% \ncorrect.\n\nThanks!\n```\n\nOriginal comment by `ericbide...@gmail.com` on 26 Aug 2010 at 6:42\n* Changed state: **Accepted**\n* Added labels: **Milestone-3**, **Slides**"}}