{"action":"created","issue":{"url":"https://api.github.com/repos/video-dev/can-autoplay/issues/3","repository_url":"https://api.github.com/repos/video-dev/can-autoplay","labels_url":"https://api.github.com/repos/video-dev/can-autoplay/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/video-dev/can-autoplay/issues/3/comments","events_url":"https://api.github.com/repos/video-dev/can-autoplay/issues/3/events","html_url":"https://github.com/video-dev/can-autoplay/pull/3","id":276864924,"number":3,"title":"API v2: Rely on play() Promise API","user":{"login":"NicolasSiver","id":135263,"avatar_url":"https://avatars0.githubusercontent.com/u/135263?v=4","gravatar_id":"","url":"https://api.github.com/users/NicolasSiver","html_url":"https://github.com/NicolasSiver","followers_url":"https://api.github.com/users/NicolasSiver/followers","following_url":"https://api.github.com/users/NicolasSiver/following{/other_user}","gists_url":"https://api.github.com/users/NicolasSiver/gists{/gist_id}","starred_url":"https://api.github.com/users/NicolasSiver/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NicolasSiver/subscriptions","organizations_url":"https://api.github.com/users/NicolasSiver/orgs","repos_url":"https://api.github.com/users/NicolasSiver/repos","events_url":"https://api.github.com/users/NicolasSiver/events{/privacy}","received_events_url":"https://api.github.com/users/NicolasSiver/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2017-11-26T22:59:56Z","updated_at":"2017-12-02T13:39:45Z","closed_at":null,"author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/video-dev/can-autoplay/pulls/3","html_url":"https://github.com/video-dev/can-autoplay/pull/3","diff_url":"https://github.com/video-dev/can-autoplay/pull/3.diff","patch_url":"https://github.com/video-dev/can-autoplay/pull/3.patch"},"body":"General: a bit more DRY implementation to simplify maintenance \r\n\r\n- Added `getError` method to have access to native browser's error\r\n- Added error for timeout\r\n- Added changelog tracking\r\n- Changed DOM test framework to JSDom\r\n- Changed API to use `audio/video` methods with same payload\r\n- Changed playback detection to rely on browser's `play()` Promise API\r\n- Changed documentation to include examples with Promise API\r\n- Removed `videoMuted` method in favor of generic API for `video` and `audio`\r\n- Removed DOM invalidation\r\n"},"comment":{"url":"https://api.github.com/repos/video-dev/can-autoplay/issues/comments/348692730","html_url":"https://github.com/video-dev/can-autoplay/pull/3#issuecomment-348692730","issue_url":"https://api.github.com/repos/video-dev/can-autoplay/issues/3","id":348692730,"user":{"login":"NicolasSiver","id":135263,"avatar_url":"https://avatars0.githubusercontent.com/u/135263?v=4","gravatar_id":"","url":"https://api.github.com/users/NicolasSiver","html_url":"https://github.com/NicolasSiver","followers_url":"https://api.github.com/users/NicolasSiver/followers","following_url":"https://api.github.com/users/NicolasSiver/following{/other_user}","gists_url":"https://api.github.com/users/NicolasSiver/gists{/gist_id}","starred_url":"https://api.github.com/users/NicolasSiver/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NicolasSiver/subscriptions","organizations_url":"https://api.github.com/users/NicolasSiver/orgs","repos_url":"https://api.github.com/users/NicolasSiver/repos","events_url":"https://api.github.com/users/NicolasSiver/events{/privacy}","received_events_url":"https://api.github.com/users/NicolasSiver/received_events","type":"User","site_admin":false},"created_at":"2017-12-02T13:39:45Z","updated_at":"2017-12-02T13:39:45Z","author_association":"NONE","body":"Latest changes to API have been introduced and tested.\r\n\r\n![image](https://user-images.githubusercontent.com/135263/33516186-53b83742-d73c-11e7-8f5b-9b256de50736.png)\r\n"}}
{"actor":{"display_login":"NicolasSiver"}}