{"action":"created","comment":{"url":"https://api.github.com/repos/kaltura/mwEmbed/pulls/comments/39022488","id":39022488,"diff_hunk":"@@ -0,0 +1,95 @@\n+( function( mw, $ ) {\"use strict\";\n+\tmw.PluginManager.add( 'bigButton', mw.KBaseComponent.extend({\n+\t\t\t//indicates we were explicitly asked to show the button (will be used when re-enabling the button)\n+\t\t\tshouldShow : false,\n+\t\t\tisDisabled: false,\n+\t\t\tdefaultConfig: {\n+\t\t\t\t'parent': 'videoHolder',\n+\t\t\t\t'order': 20\n+\t\t\t},\n+\t\t\tsetup: function() {\n+\t\t\t\tthis.addBindings();\n+\t\t\t},\n+\n+\t\t\taddBindings: function() {\n+\t\t\t\tvar _this = this;\n+\n+\t\t\t\tthis.bind('onpause onRemovePlayerSpinner', function(){\n+\t\t\t\t\tif( !_this.embedPlayer.isPlaying() && !_this.embedPlayer.isInSequence() ){\n+\t\t\t\t\t\t_this.show();\n+\t\t\t\t\t}\n+\t\t\t\t});\n+\t\t\t\tthis.bind('playing AdSupport_StartAdPlayback onAddPlayerSpinner onHideControlBar', function(){\n+\t\t\t\t\t_this.hide(true);\n+\t\t\t\t});\n+\t\t\t\tthis.bind('onPlayerStateChange', function(e, newState, oldState){\n+\t\t\t\t\tif( newState == 'load' ){\n+\t\t\t\t\t\t_this.hide(true);\n+\t\t\t\t\t}\n+\t\t\t\t\tif( newState == 'pause' && _this.getPlayer().isPauseLoading ) {\n+\t\t\t\t\t\t_this.hide();\n+\t\t\t\t\t}\n+\t\t\t\t\tif (newState == 'start') {\n+\t\t\t\t\t\t_this.hide(true);\n+\t\t\t\t\t}\n+                    if (newState == 'play') {\n+                        _this.hide(true);\n+                    }\n+\t\t\t\t});\n+\t\t\t},\n+\t\t\tshow: function(){\n+\t\t\t\tif ( !this.isDisabled ) {\n+\t\t\t\t\tthis.getComponent().show();\n+\t\t\t\t}\n+\t\t\t\tthis.shouldShow = true;\n+\t\t\t},\n+\t\t\thide: function( force ){\n+\t\t\t\tthis.hideComponent( force );\n+\t\t\t\tthis.shouldShow = false;\n+\t\t\t},\n+\t\t\thideComponent: function( force ) {\n+\t\t\t\tif( force ) {\n+\t\t\t\t\tthis.getComponent().hide();\n+\t\t\t\t}\n+\t\t\t},\n+\t\t\tclickButton: function( event ){\n+\t\t\t\tevent.preventDefault();\n+\t\t\t\tevent.stopPropagation();\n+\t\t\t\tthis.getPlayer().sendNotification('big_button_clicked', this.embedPlayer.currentTime);","path":"modules/Quiz/resources/bigButton.js","position":58,"original_position":58,"commit_id":"8341996725952cfb23fbc7555d094de50bc32266","original_commit_id":"8341996725952cfb23fbc7555d094de50bc32266","user":{"login":"atarsh","id":1503090,"avatar_url":"https://avatars.githubusercontent.com/u/1503090?v=3","gravatar_id":"","url":"https://api.github.com/users/atarsh","html_url":"https://github.com/atarsh","followers_url":"https://api.github.com/users/atarsh/followers","following_url":"https://api.github.com/users/atarsh/following{/other_user}","gists_url":"https://api.github.com/users/atarsh/gists{/gist_id}","starred_url":"https://api.github.com/users/atarsh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/atarsh/subscriptions","organizations_url":"https://api.github.com/users/atarsh/orgs","repos_url":"https://api.github.com/users/atarsh/repos","events_url":"https://api.github.com/users/atarsh/events{/privacy}","received_events_url":"https://api.github.com/users/atarsh/received_events","type":"User","site_admin":false},"body":"done","created_at":"2015-09-09T09:23:17Z","updated_at":"2015-09-09T09:23:17Z","html_url":"https://github.com/kaltura/mwEmbed/pull/2144#discussion_r39022488","pull_request_url":"https://api.github.com/repos/kaltura/mwEmbed/pulls/2144","_links":{"self":{"href":"https://api.github.com/repos/kaltura/mwEmbed/pulls/comments/39022488"},"html":{"href":"https://github.com/kaltura/mwEmbed/pull/2144#discussion_r39022488"},"pull_request":{"href":"https://api.github.com/repos/kaltura/mwEmbed/pulls/2144"}}},"pull_request":{"url":"https://api.github.com/repos/kaltura/mwEmbed/pulls/2144","id":44462082,"html_url":"https://github.com/kaltura/mwEmbed/pull/2144","diff_url":"https://github.com/kaltura/mwEmbed/pull/2144.diff","patch_url":"https://github.com/kaltura/mwEmbed/pull/2144.patch","issue_url":"https://api.github.com/repos/kaltura/mwEmbed/issues/2144","number":2144,"state":"open","locked":false,"title":"Invideo quiz","user":{"login":"itaykinnrot","id":555225,"avatar_url":"https://avatars.githubusercontent.com/u/555225?v=3","gravatar_id":"","url":"https://api.github.com/users/itaykinnrot","html_url":"https://github.com/itaykinnrot","followers_url":"https://api.github.com/users/itaykinnrot/followers","following_url":"https://api.github.com/users/itaykinnrot/following{/other_user}","gists_url":"https://api.github.com/users/itaykinnrot/gists{/gist_id}","starred_url":"https://api.github.com/users/itaykinnrot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/itaykinnrot/subscriptions","organizations_url":"https://api.github.com/users/itaykinnrot/orgs","repos_url":"https://api.github.com/users/itaykinnrot/repos","events_url":"https://api.github.com/users/itaykinnrot/events{/privacy}","received_events_url":"https://api.github.com/users/itaykinnrot/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-09-08T17:49:45Z","updated_at":"2015-09-09T09:23:17Z","closed_at":null,"merged_at":null,"merge_commit_sha":"5dcfd5c3a8beea1f7522aca02362551873617a73","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/kaltura/mwEmbed/pulls/2144/commits","review_comments_url":"https://api.github.com/repos/kaltura/mwEmbed/pulls/2144/comments","review_comment_url":"https://api.github.com/repos/kaltura/mwEmbed/pulls/comments{/number}","comments_url":"https://api.github.com/repos/kaltura/mwEmbed/issues/2144/comments","statuses_url":"https://api.github.com/repos/kaltura/mwEmbed/statuses/8341996725952cfb23fbc7555d094de50bc32266","head":{"label":"kaltura:invideoQuiz","ref":"invideoQuiz","sha":"8341996725952cfb23fbc7555d094de50bc32266","user":{"login":"kaltura","id":319096,"avatar_url":"https://avatars.githubusercontent.com/u/319096?v=3","gravatar_id":"","url":"https://api.github.com/users/kaltura","html_url":"https://github.com/kaltura","followers_url":"https://api.github.com/users/kaltura/followers","following_url":"https://api.github.com/users/kaltura/following{/other_user}","gists_url":"https://api.github.com/users/kaltura/gists{/gist_id}","starred_url":"https://api.github.com/users/kaltura/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kaltura/subscriptions","organizations_url":"https://api.github.com/users/kaltura/orgs","repos_url":"https://api.github.com/users/kaltura/repos","events_url":"https://api.github.com/users/kaltura/events{/privacy}","received_events_url":"https://api.github.com/users/kaltura/received_events","type":"Organization","site_admin":false},"repo":{"id":3388498,"name":"mwEmbed","full_name":"kaltura/mwEmbed","owner":{"login":"kaltura","id":319096,"avatar_url":"https://avatars.githubusercontent.com/u/319096?v=3","gravatar_id":"","url":"https://api.github.com/users/kaltura","html_url":"https://github.com/kaltura","followers_url":"https://api.github.com/users/kaltura/followers","following_url":"https://api.github.com/users/kaltura/following{/other_user}","gists_url":"https://api.github.com/users/kaltura/gists{/gist_id}","starred_url":"https://api.github.com/users/kaltura/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kaltura/subscriptions","organizations_url":"https://api.github.com/users/kaltura/orgs","repos_url":"https://api.github.com/users/kaltura/repos","events_url":"https://api.github.com/users/kaltura/events{/privacy}","received_events_url":"https://api.github.com/users/kaltura/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/kaltura/mwEmbed","description":"Kaltura's Cross Platform Video Player ToolKit ","fork":false,"url":"https://api.github.com/repos/kaltura/mwEmbed","forks_url":"https://api.github.com/repos/kaltura/mwEmbed/forks","keys_url":"https://api.github.com/repos/kaltura/mwEmbed/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kaltura/mwEmbed/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kaltura/mwEmbed/teams","hooks_url":"https://api.github.com/repos/kaltura/mwEmbed/hooks","issue_events_url":"https://api.github.com/repos/kaltura/mwEmbed/issues/events{/number}","events_url":"https://api.github.com/repos/kaltura/mwEmbed/events","assignees_url":"https://api.github.com/repos/kaltura/mwEmbed/assignees{/user}","branches_url":"https://api.github.com/repos/kaltura/mwEmbed/branches{/branch}","tags_url":"https://api.github.com/repos/kaltura/mwEmbed/tags","blobs_url":"https://api.github.com/repos/kaltura/mwEmbed/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kaltura/mwEmbed/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kaltura/mwEmbed/git/refs{/sha}","trees_url":"https://api.github.com/repos/kaltura/mwEmbed/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kaltura/mwEmbed/statuses/{sha}","languages_url":"https://api.github.com/repos/kaltura/mwEmbed/languages","stargazers_url":"https://api.github.com/repos/kaltura/mwEmbed/stargazers","contributors_url":"https://api.github.com/repos/kaltura/mwEmbed/contributors","subscribers_url":"https://api.github.com/repos/kaltura/mwEmbed/subscribers","subscription_url":"https://api.github.com/repos/kaltura/mwEmbed/subscription","commits_url":"https://api.github.com/repos/kaltura/mwEmbed/commits{/sha}","git_commits_url":"https://api.github.com/repos/kaltura/mwEmbed/git/commits{/sha}","comments_url":"https://api.github.com/repos/kaltura/mwEmbed/comments{/number}","issue_comment_url":"https://api.github.com/repos/kaltura/mwEmbed/issues/comments{/number}","contents_url":"https://api.github.com/repos/kaltura/mwEmbed/contents/{+path}","compare_url":"https://api.github.com/repos/kaltura/mwEmbed/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kaltura/mwEmbed/merges","archive_url":"https://api.github.com/repos/kaltura/mwEmbed/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kaltura/mwEmbed/downloads","issues_url":"https://api.github.com/repos/kaltura/mwEmbed/issues{/number}","pulls_url":"https://api.github.com/repos/kaltura/mwEmbed/pulls{/number}","milestones_url":"https://api.github.com/repos/kaltura/mwEmbed/milestones{/number}","notifications_url":"https://api.github.com/repos/kaltura/mwEmbed/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kaltura/mwEmbed/labels{/name}","releases_url":"https://api.github.com/repos/kaltura/mwEmbed/releases{/id}","created_at":"2012-02-08T15:44:27Z","updated_at":"2015-09-02T12:43:36Z","pushed_at":"2015-09-09T07:19:57Z","git_url":"git://github.com/kaltura/mwEmbed.git","ssh_url":"git@github.com:kaltura/mwEmbed.git","clone_url":"https://github.com/kaltura/mwEmbed.git","svn_url":"https://github.com/kaltura/mwEmbed","homepage":"http://player.kaltura.com","size":295657,"stargazers_count":120,"watchers_count":120,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":97,"mirror_url":null,"open_issues_count":168,"forks":97,"open_issues":168,"watchers":120,"default_branch":"master"}},"base":{"label":"kaltura:2.35-Sep-20","ref":"2.35-Sep-20","sha":"9ed78d27b844028484a0c3716f990a62ce041391","user":{"login":"kaltura","id":319096,"avatar_url":"https://avatars.githubusercontent.com/u/319096?v=3","gravatar_id":"","url":"https://api.github.com/users/kaltura","html_url":"https://github.com/kaltura","followers_url":"https://api.github.com/users/kaltura/followers","following_url":"https://api.github.com/users/kaltura/following{/other_user}","gists_url":"https://api.github.com/users/kaltura/gists{/gist_id}","starred_url":"https://api.github.com/users/kaltura/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kaltura/subscriptions","organizations_url":"https://api.github.com/users/kaltura/orgs","repos_url":"https://api.github.com/users/kaltura/repos","events_url":"https://api.github.com/users/kaltura/events{/privacy}","received_events_url":"https://api.github.com/users/kaltura/received_events","type":"Organization","site_admin":false},"repo":{"id":3388498,"name":"mwEmbed","full_name":"kaltura/mwEmbed","owner":{"login":"kaltura","id":319096,"avatar_url":"https://avatars.githubusercontent.com/u/319096?v=3","gravatar_id":"","url":"https://api.github.com/users/kaltura","html_url":"https://github.com/kaltura","followers_url":"https://api.github.com/users/kaltura/followers","following_url":"https://api.github.com/users/kaltura/following{/other_user}","gists_url":"https://api.github.com/users/kaltura/gists{/gist_id}","starred_url":"https://api.github.com/users/kaltura/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kaltura/subscriptions","organizations_url":"https://api.github.com/users/kaltura/orgs","repos_url":"https://api.github.com/users/kaltura/repos","events_url":"https://api.github.com/users/kaltura/events{/privacy}","received_events_url":"https://api.github.com/users/kaltura/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/kaltura/mwEmbed","description":"Kaltura's Cross Platform Video Player ToolKit ","fork":false,"url":"https://api.github.com/repos/kaltura/mwEmbed","forks_url":"https://api.github.com/repos/kaltura/mwEmbed/forks","keys_url":"https://api.github.com/repos/kaltura/mwEmbed/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kaltura/mwEmbed/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kaltura/mwEmbed/teams","hooks_url":"https://api.github.com/repos/kaltura/mwEmbed/hooks","issue_events_url":"https://api.github.com/repos/kaltura/mwEmbed/issues/events{/number}","events_url":"https://api.github.com/repos/kaltura/mwEmbed/events","assignees_url":"https://api.github.com/repos/kaltura/mwEmbed/assignees{/user}","branches_url":"https://api.github.com/repos/kaltura/mwEmbed/branches{/branch}","tags_url":"https://api.github.com/repos/kaltura/mwEmbed/tags","blobs_url":"https://api.github.com/repos/kaltura/mwEmbed/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kaltura/mwEmbed/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kaltura/mwEmbed/git/refs{/sha}","trees_url":"https://api.github.com/repos/kaltura/mwEmbed/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kaltura/mwEmbed/statuses/{sha}","languages_url":"https://api.github.com/repos/kaltura/mwEmbed/languages","stargazers_url":"https://api.github.com/repos/kaltura/mwEmbed/stargazers","contributors_url":"https://api.github.com/repos/kaltura/mwEmbed/contributors","subscribers_url":"https://api.github.com/repos/kaltura/mwEmbed/subscribers","subscription_url":"https://api.github.com/repos/kaltura/mwEmbed/subscription","commits_url":"https://api.github.com/repos/kaltura/mwEmbed/commits{/sha}","git_commits_url":"https://api.github.com/repos/kaltura/mwEmbed/git/commits{/sha}","comments_url":"https://api.github.com/repos/kaltura/mwEmbed/comments{/number}","issue_comment_url":"https://api.github.com/repos/kaltura/mwEmbed/issues/comments{/number}","contents_url":"https://api.github.com/repos/kaltura/mwEmbed/contents/{+path}","compare_url":"https://api.github.com/repos/kaltura/mwEmbed/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kaltura/mwEmbed/merges","archive_url":"https://api.github.com/repos/kaltura/mwEmbed/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kaltura/mwEmbed/downloads","issues_url":"https://api.github.com/repos/kaltura/mwEmbed/issues{/number}","pulls_url":"https://api.github.com/repos/kaltura/mwEmbed/pulls{/number}","milestones_url":"https://api.github.com/repos/kaltura/mwEmbed/milestones{/number}","notifications_url":"https://api.github.com/repos/kaltura/mwEmbed/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kaltura/mwEmbed/labels{/name}","releases_url":"https://api.github.com/repos/kaltura/mwEmbed/releases{/id}","created_at":"2012-02-08T15:44:27Z","updated_at":"2015-09-02T12:43:36Z","pushed_at":"2015-09-09T07:19:57Z","git_url":"git://github.com/kaltura/mwEmbed.git","ssh_url":"git@github.com:kaltura/mwEmbed.git","clone_url":"https://github.com/kaltura/mwEmbed.git","svn_url":"https://github.com/kaltura/mwEmbed","homepage":"http://player.kaltura.com","size":295657,"stargazers_count":120,"watchers_count":120,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":97,"mirror_url":null,"open_issues_count":168,"forks":97,"open_issues":168,"watchers":120,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/kaltura/mwEmbed/pulls/2144"},"html":{"href":"https://github.com/kaltura/mwEmbed/pull/2144"},"issue":{"href":"https://api.github.com/repos/kaltura/mwEmbed/issues/2144"},"comments":{"href":"https://api.github.com/repos/kaltura/mwEmbed/issues/2144/comments"},"review_comments":{"href":"https://api.github.com/repos/kaltura/mwEmbed/pulls/2144/comments"},"review_comment":{"href":"https://api.github.com/repos/kaltura/mwEmbed/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/kaltura/mwEmbed/pulls/2144/commits"},"statuses":{"href":"https://api.github.com/repos/kaltura/mwEmbed/statuses/8341996725952cfb23fbc7555d094de50bc32266"}}}}