{"action":"created","comment":{"url":"https://api.github.com/repos/jwplayer/jwplayer/pulls/comments/70834987","id":70834987,"diff_hunk":"@@ -358,6 +358,11 @@ define([\n                     }, this);\n \n                     _swf.on('visualQuality', function(e) {\n+                        // Get index from sorted levels from the level's index + 1 to take Auto into account\n+                        var sortedIndex = (_qualityLevels.length) === 1 ? 0 :\n+                            _getSortedIndex(_qualityLevels, e.level.index + 1) - 1;","path":"src/js/providers/flash.js","position":6,"original_position":6,"commit_id":"361ca2aa7e52f4479c1096427f1a5762166618cd","original_commit_id":"361ca2aa7e52f4479c1096427f1a5762166618cd","user":{"login":"pajong","id":13631194,"avatar_url":"https://avatars.githubusercontent.com/u/13631194?v=3","gravatar_id":"","url":"https://api.github.com/users/pajong","html_url":"https://github.com/pajong","followers_url":"https://api.github.com/users/pajong/followers","following_url":"https://api.github.com/users/pajong/following{/other_user}","gists_url":"https://api.github.com/users/pajong/gists{/gist_id}","starred_url":"https://api.github.com/users/pajong/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pajong/subscriptions","organizations_url":"https://api.github.com/users/pajong/orgs","repos_url":"https://api.github.com/users/pajong/repos","events_url":"https://api.github.com/users/pajong/events{/privacy}","received_events_url":"https://api.github.com/users/pajong/received_events","type":"User","site_admin":false},"body":"Yup","created_at":"2016-07-14T16:14:16Z","updated_at":"2016-07-14T16:14:16Z","html_url":"https://github.com/jwplayer/jwplayer/pull/1299#discussion_r70834987","pull_request_url":"https://api.github.com/repos/jwplayer/jwplayer/pulls/1299","_links":{"self":{"href":"https://api.github.com/repos/jwplayer/jwplayer/pulls/comments/70834987"},"html":{"href":"https://github.com/jwplayer/jwplayer/pull/1299#discussion_r70834987"},"pull_request":{"href":"https://api.github.com/repos/jwplayer/jwplayer/pulls/1299"}}},"pull_request":{"url":"https://api.github.com/repos/jwplayer/jwplayer/pulls/1299","id":77009880,"html_url":"https://github.com/jwplayer/jwplayer/pull/1299","diff_url":"https://github.com/jwplayer/jwplayer/pull/1299.diff","patch_url":"https://github.com/jwplayer/jwplayer/pull/1299.patch","issue_url":"https://api.github.com/repos/jwplayer/jwplayer/issues/1299","number":1299,"state":"open","locked":false,"title":"Fix visual quality levels index for flash","user":{"login":"pajong","id":13631194,"avatar_url":"https://avatars.githubusercontent.com/u/13631194?v=3","gravatar_id":"","url":"https://api.github.com/users/pajong","html_url":"https://github.com/pajong","followers_url":"https://api.github.com/users/pajong/followers","following_url":"https://api.github.com/users/pajong/following{/other_user}","gists_url":"https://api.github.com/users/pajong/gists{/gist_id}","starred_url":"https://api.github.com/users/pajong/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pajong/subscriptions","organizations_url":"https://api.github.com/users/pajong/orgs","repos_url":"https://api.github.com/users/pajong/repos","events_url":"https://api.github.com/users/pajong/events{/privacy}","received_events_url":"https://api.github.com/users/pajong/received_events","type":"User","site_admin":false},"body":"To sort quality from high to low, we only changed the UI from flash provider.\r\nWhen we receive visualQuality from flash, the index of each level is not what our UI says.\r\nUpdating the visualQuality event so that we correctly give the index.\r\nJW7-2719","created_at":"2016-07-11T19:34:11Z","updated_at":"2016-07-14T16:14:16Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e601fd8ab6b0eb466f64eb0f5fbbacc10b7bf917","assignee":{"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},"assignees":[{"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}],"milestone":null,"commits_url":"https://api.github.com/repos/jwplayer/jwplayer/pulls/1299/commits","review_comments_url":"https://api.github.com/repos/jwplayer/jwplayer/pulls/1299/comments","review_comment_url":"https://api.github.com/repos/jwplayer/jwplayer/pulls/comments{/number}","comments_url":"https://api.github.com/repos/jwplayer/jwplayer/issues/1299/comments","statuses_url":"https://api.github.com/repos/jwplayer/jwplayer/statuses/361ca2aa7e52f4479c1096427f1a5762166618cd","head":{"label":"jwplayer:bugfix/visual-quality-flash","ref":"bugfix/visual-quality-flash","sha":"361ca2aa7e52f4479c1096427f1a5762166618cd","user":{"login":"jwplayer","id":5090060,"avatar_url":"https://avatars.githubusercontent.com/u/5090060?v=3","gravatar_id":"","url":"https://api.github.com/users/jwplayer","html_url":"https://github.com/jwplayer","followers_url":"https://api.github.com/users/jwplayer/followers","following_url":"https://api.github.com/users/jwplayer/following{/other_user}","gists_url":"https://api.github.com/users/jwplayer/gists{/gist_id}","starred_url":"https://api.github.com/users/jwplayer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jwplayer/subscriptions","organizations_url":"https://api.github.com/users/jwplayer/orgs","repos_url":"https://api.github.com/users/jwplayer/repos","events_url":"https://api.github.com/users/jwplayer/events{/privacy}","received_events_url":"https://api.github.com/users/jwplayer/received_events","type":"Organization","site_admin":false},"repo":{"id":18307175,"name":"jwplayer","full_name":"jwplayer/jwplayer","owner":{"login":"jwplayer","id":5090060,"avatar_url":"https://avatars.githubusercontent.com/u/5090060?v=3","gravatar_id":"","url":"https://api.github.com/users/jwplayer","html_url":"https://github.com/jwplayer","followers_url":"https://api.github.com/users/jwplayer/followers","following_url":"https://api.github.com/users/jwplayer/following{/other_user}","gists_url":"https://api.github.com/users/jwplayer/gists{/gist_id}","starred_url":"https://api.github.com/users/jwplayer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jwplayer/subscriptions","organizations_url":"https://api.github.com/users/jwplayer/orgs","repos_url":"https://api.github.com/users/jwplayer/repos","events_url":"https://api.github.com/users/jwplayer/events{/privacy}","received_events_url":"https://api.github.com/users/jwplayer/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/jwplayer/jwplayer","description":"JW Player is the world's most popular embeddable media player. For documentation and support, please visit the JW Player Support Site:","fork":false,"url":"https://api.github.com/repos/jwplayer/jwplayer","forks_url":"https://api.github.com/repos/jwplayer/jwplayer/forks","keys_url":"https://api.github.com/repos/jwplayer/jwplayer/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jwplayer/jwplayer/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jwplayer/jwplayer/teams","hooks_url":"https://api.github.com/repos/jwplayer/jwplayer/hooks","issue_events_url":"https://api.github.com/repos/jwplayer/jwplayer/issues/events{/number}","events_url":"https://api.github.com/repos/jwplayer/jwplayer/events","assignees_url":"https://api.github.com/repos/jwplayer/jwplayer/assignees{/user}","branches_url":"https://api.github.com/repos/jwplayer/jwplayer/branches{/branch}","tags_url":"https://api.github.com/repos/jwplayer/jwplayer/tags","blobs_url":"https://api.github.com/repos/jwplayer/jwplayer/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jwplayer/jwplayer/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jwplayer/jwplayer/git/refs{/sha}","trees_url":"https://api.github.com/repos/jwplayer/jwplayer/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jwplayer/jwplayer/statuses/{sha}","languages_url":"https://api.github.com/repos/jwplayer/jwplayer/languages","stargazers_url":"https://api.github.com/repos/jwplayer/jwplayer/stargazers","contributors_url":"https://api.github.com/repos/jwplayer/jwplayer/contributors","subscribers_url":"https://api.github.com/repos/jwplayer/jwplayer/subscribers","subscription_url":"https://api.github.com/repos/jwplayer/jwplayer/subscription","commits_url":"https://api.github.com/repos/jwplayer/jwplayer/commits{/sha}","git_commits_url":"https://api.github.com/repos/jwplayer/jwplayer/git/commits{/sha}","comments_url":"https://api.github.com/repos/jwplayer/jwplayer/comments{/number}","issue_comment_url":"https://api.github.com/repos/jwplayer/jwplayer/issues/comments{/number}","contents_url":"https://api.github.com/repos/jwplayer/jwplayer/contents/{+path}","compare_url":"https://api.github.com/repos/jwplayer/jwplayer/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jwplayer/jwplayer/merges","archive_url":"https://api.github.com/repos/jwplayer/jwplayer/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jwplayer/jwplayer/downloads","issues_url":"https://api.github.com/repos/jwplayer/jwplayer/issues{/number}","pulls_url":"https://api.github.com/repos/jwplayer/jwplayer/pulls{/number}","milestones_url":"https://api.github.com/repos/jwplayer/jwplayer/milestones{/number}","notifications_url":"https://api.github.com/repos/jwplayer/jwplayer/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jwplayer/jwplayer/labels{/name}","releases_url":"https://api.github.com/repos/jwplayer/jwplayer/releases{/id}","deployments_url":"https://api.github.com/repos/jwplayer/jwplayer/deployments","created_at":"2014-03-31T20:34:20Z","updated_at":"2016-07-14T06:35:24Z","pushed_at":"2016-07-14T15:50:48Z","git_url":"git://github.com/jwplayer/jwplayer.git","ssh_url":"git@github.com:jwplayer/jwplayer.git","clone_url":"https://github.com/jwplayer/jwplayer.git","svn_url":"https://github.com/jwplayer/jwplayer","homepage":"http://support.jwplayer.com","size":89026,"stargazers_count":833,"watchers_count":833,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":387,"mirror_url":null,"open_issues_count":34,"forks":387,"open_issues":34,"watchers":833,"default_branch":"master"}},"base":{"label":"jwplayer:master","ref":"master","sha":"9731dd518bc5d988b00eea3f5e8f37c65f488b51","user":{"login":"jwplayer","id":5090060,"avatar_url":"https://avatars.githubusercontent.com/u/5090060?v=3","gravatar_id":"","url":"https://api.github.com/users/jwplayer","html_url":"https://github.com/jwplayer","followers_url":"https://api.github.com/users/jwplayer/followers","following_url":"https://api.github.com/users/jwplayer/following{/other_user}","gists_url":"https://api.github.com/users/jwplayer/gists{/gist_id}","starred_url":"https://api.github.com/users/jwplayer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jwplayer/subscriptions","organizations_url":"https://api.github.com/users/jwplayer/orgs","repos_url":"https://api.github.com/users/jwplayer/repos","events_url":"https://api.github.com/users/jwplayer/events{/privacy}","received_events_url":"https://api.github.com/users/jwplayer/received_events","type":"Organization","site_admin":false},"repo":{"id":18307175,"name":"jwplayer","full_name":"jwplayer/jwplayer","owner":{"login":"jwplayer","id":5090060,"avatar_url":"https://avatars.githubusercontent.com/u/5090060?v=3","gravatar_id":"","url":"https://api.github.com/users/jwplayer","html_url":"https://github.com/jwplayer","followers_url":"https://api.github.com/users/jwplayer/followers","following_url":"https://api.github.com/users/jwplayer/following{/other_user}","gists_url":"https://api.github.com/users/jwplayer/gists{/gist_id}","starred_url":"https://api.github.com/users/jwplayer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jwplayer/subscriptions","organizations_url":"https://api.github.com/users/jwplayer/orgs","repos_url":"https://api.github.com/users/jwplayer/repos","events_url":"https://api.github.com/users/jwplayer/events{/privacy}","received_events_url":"https://api.github.com/users/jwplayer/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/jwplayer/jwplayer","description":"JW Player is the world's most popular embeddable media player. For documentation and support, please visit the JW Player Support Site:","fork":false,"url":"https://api.github.com/repos/jwplayer/jwplayer","forks_url":"https://api.github.com/repos/jwplayer/jwplayer/forks","keys_url":"https://api.github.com/repos/jwplayer/jwplayer/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jwplayer/jwplayer/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jwplayer/jwplayer/teams","hooks_url":"https://api.github.com/repos/jwplayer/jwplayer/hooks","issue_events_url":"https://api.github.com/repos/jwplayer/jwplayer/issues/events{/number}","events_url":"https://api.github.com/repos/jwplayer/jwplayer/events","assignees_url":"https://api.github.com/repos/jwplayer/jwplayer/assignees{/user}","branches_url":"https://api.github.com/repos/jwplayer/jwplayer/branches{/branch}","tags_url":"https://api.github.com/repos/jwplayer/jwplayer/tags","blobs_url":"https://api.github.com/repos/jwplayer/jwplayer/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jwplayer/jwplayer/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jwplayer/jwplayer/git/refs{/sha}","trees_url":"https://api.github.com/repos/jwplayer/jwplayer/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jwplayer/jwplayer/statuses/{sha}","languages_url":"https://api.github.com/repos/jwplayer/jwplayer/languages","stargazers_url":"https://api.github.com/repos/jwplayer/jwplayer/stargazers","contributors_url":"https://api.github.com/repos/jwplayer/jwplayer/contributors","subscribers_url":"https://api.github.com/repos/jwplayer/jwplayer/subscribers","subscription_url":"https://api.github.com/repos/jwplayer/jwplayer/subscription","commits_url":"https://api.github.com/repos/jwplayer/jwplayer/commits{/sha}","git_commits_url":"https://api.github.com/repos/jwplayer/jwplayer/git/commits{/sha}","comments_url":"https://api.github.com/repos/jwplayer/jwplayer/comments{/number}","issue_comment_url":"https://api.github.com/repos/jwplayer/jwplayer/issues/comments{/number}","contents_url":"https://api.github.com/repos/jwplayer/jwplayer/contents/{+path}","compare_url":"https://api.github.com/repos/jwplayer/jwplayer/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jwplayer/jwplayer/merges","archive_url":"https://api.github.com/repos/jwplayer/jwplayer/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jwplayer/jwplayer/downloads","issues_url":"https://api.github.com/repos/jwplayer/jwplayer/issues{/number}","pulls_url":"https://api.github.com/repos/jwplayer/jwplayer/pulls{/number}","milestones_url":"https://api.github.com/repos/jwplayer/jwplayer/milestones{/number}","notifications_url":"https://api.github.com/repos/jwplayer/jwplayer/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jwplayer/jwplayer/labels{/name}","releases_url":"https://api.github.com/repos/jwplayer/jwplayer/releases{/id}","deployments_url":"https://api.github.com/repos/jwplayer/jwplayer/deployments","created_at":"2014-03-31T20:34:20Z","updated_at":"2016-07-14T06:35:24Z","pushed_at":"2016-07-14T15:50:48Z","git_url":"git://github.com/jwplayer/jwplayer.git","ssh_url":"git@github.com:jwplayer/jwplayer.git","clone_url":"https://github.com/jwplayer/jwplayer.git","svn_url":"https://github.com/jwplayer/jwplayer","homepage":"http://support.jwplayer.com","size":89026,"stargazers_count":833,"watchers_count":833,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":387,"mirror_url":null,"open_issues_count":34,"forks":387,"open_issues":34,"watchers":833,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/jwplayer/jwplayer/pulls/1299"},"html":{"href":"https://github.com/jwplayer/jwplayer/pull/1299"},"issue":{"href":"https://api.github.com/repos/jwplayer/jwplayer/issues/1299"},"comments":{"href":"https://api.github.com/repos/jwplayer/jwplayer/issues/1299/comments"},"review_comments":{"href":"https://api.github.com/repos/jwplayer/jwplayer/pulls/1299/comments"},"review_comment":{"href":"https://api.github.com/repos/jwplayer/jwplayer/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/jwplayer/jwplayer/pulls/1299/commits"},"statuses":{"href":"https://api.github.com/repos/jwplayer/jwplayer/statuses/361ca2aa7e52f4479c1096427f1a5762166618cd"}}}}
{"actor":{"display_login":"pajong"}}