{"action":"created","comment":{"url":"https://api.github.com/repos/dailymotion/hls.js/pulls/comments/87505320","pull_request_review_id":8117263,"id":87505320,"diff_hunk":"@@ -0,0 +1,145 @@\n+/*\n+ * audio track controller","path":"src/controller/subtitle-track-controller.js","position":2,"original_position":2,"commit_id":"3b5dadc309a2b1b25e0275ab980d9907c50d35fd","original_commit_id":"3b5dadc309a2b1b25e0275ab980d9907c50d35fd","user":{"login":"johnBartos","id":5042276,"avatar_url":"https://avatars.githubusercontent.com/u/5042276?v=3","gravatar_id":"","url":"https://api.github.com/users/johnBartos","html_url":"https://github.com/johnBartos","followers_url":"https://api.github.com/users/johnBartos/followers","following_url":"https://api.github.com/users/johnBartos/following{/other_user}","gists_url":"https://api.github.com/users/johnBartos/gists{/gist_id}","starred_url":"https://api.github.com/users/johnBartos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johnBartos/subscriptions","organizations_url":"https://api.github.com/users/johnBartos/orgs","repos_url":"https://api.github.com/users/johnBartos/repos","events_url":"https://api.github.com/users/johnBartos/events{/privacy}","received_events_url":"https://api.github.com/users/johnBartos/received_events","type":"User","site_admin":false},"body":"subtitle","created_at":"2016-11-10T22:59:29Z","updated_at":"2016-11-10T22:59:29Z","html_url":"https://github.com/dailymotion/hls.js/pull/700#discussion_r87505320","pull_request_url":"https://api.github.com/repos/dailymotion/hls.js/pulls/700","_links":{"self":{"href":"https://api.github.com/repos/dailymotion/hls.js/pulls/comments/87505320"},"html":{"href":"https://github.com/dailymotion/hls.js/pull/700#discussion_r87505320"},"pull_request":{"href":"https://api.github.com/repos/dailymotion/hls.js/pulls/700"}}},"pull_request":{"url":"https://api.github.com/repos/dailymotion/hls.js/pulls/700","id":86936195,"html_url":"https://github.com/dailymotion/hls.js/pull/700","diff_url":"https://github.com/dailymotion/hls.js/pull/700.diff","patch_url":"https://github.com/dailymotion/hls.js/pull/700.patch","issue_url":"https://api.github.com/repos/dailymotion/hls.js/issues/700","number":700,"state":"open","locked":false,"title":"Feature webvtt","user":{"login":"coolheinze","id":1488976,"avatar_url":"https://avatars.githubusercontent.com/u/1488976?v=3","gravatar_id":"","url":"https://api.github.com/users/coolheinze","html_url":"https://github.com/coolheinze","followers_url":"https://api.github.com/users/coolheinze/followers","following_url":"https://api.github.com/users/coolheinze/following{/other_user}","gists_url":"https://api.github.com/users/coolheinze/gists{/gist_id}","starred_url":"https://api.github.com/users/coolheinze/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coolheinze/subscriptions","organizations_url":"https://api.github.com/users/coolheinze/orgs","repos_url":"https://api.github.com/users/coolheinze/repos","events_url":"https://api.github.com/users/coolheinze/events{/privacy}","received_events_url":"https://api.github.com/users/coolheinze/received_events","type":"User","site_admin":false},"body":"Added WebVTT subtitles feature.\n\nI use vtt.js by Mozilla for the actual parsing of the vtt files, although I had to add code to handle the x-timestamp-map header. This does, however, require having an updated version of vtt.js, as there is a small bug in the master. I forked it and created a pull request, and you can find a fixed version of vtt.js here: https://github.com/mediathand/vtt.js/tree/VTTCue-fix\n\nI added a reference to the vtt.js file to the demo index.html file just for testing. Maybe that's not the best solution, but I'll leave dealing with this to the main contributors. :)\n","created_at":"2016-09-27T14:02:33Z","updated_at":"2016-11-10T22:59:29Z","closed_at":null,"merged_at":null,"merge_commit_sha":"8e30d79603c2ba81032587dba7117bf02a446e27","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/dailymotion/hls.js/pulls/700/commits","review_comments_url":"https://api.github.com/repos/dailymotion/hls.js/pulls/700/comments","review_comment_url":"https://api.github.com/repos/dailymotion/hls.js/pulls/comments{/number}","comments_url":"https://api.github.com/repos/dailymotion/hls.js/issues/700/comments","statuses_url":"https://api.github.com/repos/dailymotion/hls.js/statuses/3b5dadc309a2b1b25e0275ab980d9907c50d35fd","head":{"label":"mediathand:feature-webvtt","ref":"feature-webvtt","sha":"3b5dadc309a2b1b25e0275ab980d9907c50d35fd","user":{"login":"mediathand","id":1516042,"avatar_url":"https://avatars.githubusercontent.com/u/1516042?v=3","gravatar_id":"","url":"https://api.github.com/users/mediathand","html_url":"https://github.com/mediathand","followers_url":"https://api.github.com/users/mediathand/followers","following_url":"https://api.github.com/users/mediathand/following{/other_user}","gists_url":"https://api.github.com/users/mediathand/gists{/gist_id}","starred_url":"https://api.github.com/users/mediathand/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mediathand/subscriptions","organizations_url":"https://api.github.com/users/mediathand/orgs","repos_url":"https://api.github.com/users/mediathand/repos","events_url":"https://api.github.com/users/mediathand/events{/privacy}","received_events_url":"https://api.github.com/users/mediathand/received_events","type":"Organization","site_admin":false},"repo":{"id":66457741,"name":"hls.js","full_name":"mediathand/hls.js","owner":{"login":"mediathand","id":1516042,"avatar_url":"https://avatars.githubusercontent.com/u/1516042?v=3","gravatar_id":"","url":"https://api.github.com/users/mediathand","html_url":"https://github.com/mediathand","followers_url":"https://api.github.com/users/mediathand/followers","following_url":"https://api.github.com/users/mediathand/following{/other_user}","gists_url":"https://api.github.com/users/mediathand/gists{/gist_id}","starred_url":"https://api.github.com/users/mediathand/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mediathand/subscriptions","organizations_url":"https://api.github.com/users/mediathand/orgs","repos_url":"https://api.github.com/users/mediathand/repos","events_url":"https://api.github.com/users/mediathand/events{/privacy}","received_events_url":"https://api.github.com/users/mediathand/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mediathand/hls.js","description":"MSE-based HLS client - http://dailymotion.github.io/hls.js/demo","fork":true,"url":"https://api.github.com/repos/mediathand/hls.js","forks_url":"https://api.github.com/repos/mediathand/hls.js/forks","keys_url":"https://api.github.com/repos/mediathand/hls.js/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mediathand/hls.js/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mediathand/hls.js/teams","hooks_url":"https://api.github.com/repos/mediathand/hls.js/hooks","issue_events_url":"https://api.github.com/repos/mediathand/hls.js/issues/events{/number}","events_url":"https://api.github.com/repos/mediathand/hls.js/events","assignees_url":"https://api.github.com/repos/mediathand/hls.js/assignees{/user}","branches_url":"https://api.github.com/repos/mediathand/hls.js/branches{/branch}","tags_url":"https://api.github.com/repos/mediathand/hls.js/tags","blobs_url":"https://api.github.com/repos/mediathand/hls.js/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mediathand/hls.js/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mediathand/hls.js/git/refs{/sha}","trees_url":"https://api.github.com/repos/mediathand/hls.js/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mediathand/hls.js/statuses/{sha}","languages_url":"https://api.github.com/repos/mediathand/hls.js/languages","stargazers_url":"https://api.github.com/repos/mediathand/hls.js/stargazers","contributors_url":"https://api.github.com/repos/mediathand/hls.js/contributors","subscribers_url":"https://api.github.com/repos/mediathand/hls.js/subscribers","subscription_url":"https://api.github.com/repos/mediathand/hls.js/subscription","commits_url":"https://api.github.com/repos/mediathand/hls.js/commits{/sha}","git_commits_url":"https://api.github.com/repos/mediathand/hls.js/git/commits{/sha}","comments_url":"https://api.github.com/repos/mediathand/hls.js/comments{/number}","issue_comment_url":"https://api.github.com/repos/mediathand/hls.js/issues/comments{/number}","contents_url":"https://api.github.com/repos/mediathand/hls.js/contents/{+path}","compare_url":"https://api.github.com/repos/mediathand/hls.js/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mediathand/hls.js/merges","archive_url":"https://api.github.com/repos/mediathand/hls.js/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mediathand/hls.js/downloads","issues_url":"https://api.github.com/repos/mediathand/hls.js/issues{/number}","pulls_url":"https://api.github.com/repos/mediathand/hls.js/pulls{/number}","milestones_url":"https://api.github.com/repos/mediathand/hls.js/milestones{/number}","notifications_url":"https://api.github.com/repos/mediathand/hls.js/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mediathand/hls.js/labels{/name}","releases_url":"https://api.github.com/repos/mediathand/hls.js/releases{/id}","deployments_url":"https://api.github.com/repos/mediathand/hls.js/deployments","created_at":"2016-08-24T11:17:09Z","updated_at":"2016-08-24T11:17:11Z","pushed_at":"2016-09-27T13:36:02Z","git_url":"git://github.com/mediathand/hls.js.git","ssh_url":"git@github.com:mediathand/hls.js.git","clone_url":"https://github.com/mediathand/hls.js.git","svn_url":"https://github.com/mediathand/hls.js","homepage":"","size":12690,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"dailymotion:master","ref":"master","sha":"0d4348634fda904fac2a90579e701ae1394d83bf","user":{"login":"dailymotion","id":115313,"avatar_url":"https://avatars.githubusercontent.com/u/115313?v=3","gravatar_id":"","url":"https://api.github.com/users/dailymotion","html_url":"https://github.com/dailymotion","followers_url":"https://api.github.com/users/dailymotion/followers","following_url":"https://api.github.com/users/dailymotion/following{/other_user}","gists_url":"https://api.github.com/users/dailymotion/gists{/gist_id}","starred_url":"https://api.github.com/users/dailymotion/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dailymotion/subscriptions","organizations_url":"https://api.github.com/users/dailymotion/orgs","repos_url":"https://api.github.com/users/dailymotion/repos","events_url":"https://api.github.com/users/dailymotion/events{/privacy}","received_events_url":"https://api.github.com/users/dailymotion/received_events","type":"Organization","site_admin":false},"repo":{"id":30064588,"name":"hls.js","full_name":"dailymotion/hls.js","owner":{"login":"dailymotion","id":115313,"avatar_url":"https://avatars.githubusercontent.com/u/115313?v=3","gravatar_id":"","url":"https://api.github.com/users/dailymotion","html_url":"https://github.com/dailymotion","followers_url":"https://api.github.com/users/dailymotion/followers","following_url":"https://api.github.com/users/dailymotion/following{/other_user}","gists_url":"https://api.github.com/users/dailymotion/gists{/gist_id}","starred_url":"https://api.github.com/users/dailymotion/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dailymotion/subscriptions","organizations_url":"https://api.github.com/users/dailymotion/orgs","repos_url":"https://api.github.com/users/dailymotion/repos","events_url":"https://api.github.com/users/dailymotion/events{/privacy}","received_events_url":"https://api.github.com/users/dailymotion/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/dailymotion/hls.js","description":"MSE-based HLS client - http://dailymotion.github.io/hls.js/demo","fork":false,"url":"https://api.github.com/repos/dailymotion/hls.js","forks_url":"https://api.github.com/repos/dailymotion/hls.js/forks","keys_url":"https://api.github.com/repos/dailymotion/hls.js/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dailymotion/hls.js/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dailymotion/hls.js/teams","hooks_url":"https://api.github.com/repos/dailymotion/hls.js/hooks","issue_events_url":"https://api.github.com/repos/dailymotion/hls.js/issues/events{/number}","events_url":"https://api.github.com/repos/dailymotion/hls.js/events","assignees_url":"https://api.github.com/repos/dailymotion/hls.js/assignees{/user}","branches_url":"https://api.github.com/repos/dailymotion/hls.js/branches{/branch}","tags_url":"https://api.github.com/repos/dailymotion/hls.js/tags","blobs_url":"https://api.github.com/repos/dailymotion/hls.js/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dailymotion/hls.js/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dailymotion/hls.js/git/refs{/sha}","trees_url":"https://api.github.com/repos/dailymotion/hls.js/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dailymotion/hls.js/statuses/{sha}","languages_url":"https://api.github.com/repos/dailymotion/hls.js/languages","stargazers_url":"https://api.github.com/repos/dailymotion/hls.js/stargazers","contributors_url":"https://api.github.com/repos/dailymotion/hls.js/contributors","subscribers_url":"https://api.github.com/repos/dailymotion/hls.js/subscribers","subscription_url":"https://api.github.com/repos/dailymotion/hls.js/subscription","commits_url":"https://api.github.com/repos/dailymotion/hls.js/commits{/sha}","git_commits_url":"https://api.github.com/repos/dailymotion/hls.js/git/commits{/sha}","comments_url":"https://api.github.com/repos/dailymotion/hls.js/comments{/number}","issue_comment_url":"https://api.github.com/repos/dailymotion/hls.js/issues/comments{/number}","contents_url":"https://api.github.com/repos/dailymotion/hls.js/contents/{+path}","compare_url":"https://api.github.com/repos/dailymotion/hls.js/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dailymotion/hls.js/merges","archive_url":"https://api.github.com/repos/dailymotion/hls.js/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dailymotion/hls.js/downloads","issues_url":"https://api.github.com/repos/dailymotion/hls.js/issues{/number}","pulls_url":"https://api.github.com/repos/dailymotion/hls.js/pulls{/number}","milestones_url":"https://api.github.com/repos/dailymotion/hls.js/milestones{/number}","notifications_url":"https://api.github.com/repos/dailymotion/hls.js/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dailymotion/hls.js/labels{/name}","releases_url":"https://api.github.com/repos/dailymotion/hls.js/releases{/id}","deployments_url":"https://api.github.com/repos/dailymotion/hls.js/deployments","created_at":"2015-01-30T09:06:27Z","updated_at":"2016-11-10T15:34:10Z","pushed_at":"2016-11-10T18:38:39Z","git_url":"git://github.com/dailymotion/hls.js.git","ssh_url":"git@github.com:dailymotion/hls.js.git","clone_url":"https://github.com/dailymotion/hls.js.git","svn_url":"https://github.com/dailymotion/hls.js","homepage":"","size":18431,"stargazers_count":1599,"watchers_count":1599,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":353,"mirror_url":null,"open_issues_count":198,"forks":353,"open_issues":198,"watchers":1599,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/dailymotion/hls.js/pulls/700"},"html":{"href":"https://github.com/dailymotion/hls.js/pull/700"},"issue":{"href":"https://api.github.com/repos/dailymotion/hls.js/issues/700"},"comments":{"href":"https://api.github.com/repos/dailymotion/hls.js/issues/700/comments"},"review_comments":{"href":"https://api.github.com/repos/dailymotion/hls.js/pulls/700/comments"},"review_comment":{"href":"https://api.github.com/repos/dailymotion/hls.js/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/dailymotion/hls.js/pulls/700/commits"},"statuses":{"href":"https://api.github.com/repos/dailymotion/hls.js/statuses/3b5dadc309a2b1b25e0275ab980d9907c50d35fd"}}}}
{"actor":{"display_login":"johnBartos"}}