{"action":"closed","number":16,"pull_request":{"url":"https://api.github.com/repos/lucisgit/moodle-filter_jwplayer/pulls/16","id":34627198,"html_url":"https://github.com/lucisgit/moodle-filter_jwplayer/pull/16","diff_url":"https://github.com/lucisgit/moodle-filter_jwplayer/pull/16.diff","patch_url":"https://github.com/lucisgit/moodle-filter_jwplayer/pull/16.patch","issue_url":"https://api.github.com/repos/lucisgit/moodle-filter_jwplayer/issues/16","number":16,"state":"closed","locked":false,"title":"Add custom buttons support as $option param","user":{"login":"jojoob","id":4180675,"avatar_url":"https://avatars.githubusercontent.com/u/4180675?v=3","gravatar_id":"","url":"https://api.github.com/users/jojoob","html_url":"https://github.com/jojoob","followers_url":"https://api.github.com/users/jojoob/followers","following_url":"https://api.github.com/users/jojoob/following{/other_user}","gists_url":"https://api.github.com/users/jojoob/gists{/gist_id}","starred_url":"https://api.github.com/users/jojoob/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jojoob/subscriptions","organizations_url":"https://api.github.com/users/jojoob/orgs","repos_url":"https://api.github.com/users/jojoob/repos","events_url":"https://api.github.com/users/jojoob/events{/privacy}","received_events_url":"https://api.github.com/users/jojoob/received_events","type":"User","site_admin":false},"body":"Provide an options array entry with \"buttons\" key and an array of \"button arrays\" with id, img, text, callback indexes to add custom buttons to the player.\r\nAdapted download button init to this new flexible buttons feature.\r\n\r\nExample:\r\n```\r\n$options['buttons'] = array(array(\r\n    'id'=>'uniqueid',\r\n    'img'=>'http://path/to/img.png',\r\n    'text'=>'label',\r\n    'callback'=>'M.plugin.callback'));\r\n```","created_at":"2015-05-04T10:16:51Z","updated_at":"2015-08-07T12:54:25Z","closed_at":"2015-08-07T12:54:25Z","merged_at":null,"merge_commit_sha":"386cd4beb826aea7c93dedeb6bce1014184e334c","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/lucisgit/moodle-filter_jwplayer/pulls/16/commits","review_comments_url":"https://api.github.com/repos/lucisgit/moodle-filter_jwplayer/pulls/16/comments","review_comment_url":"https://api.github.com/repos/lucisgit/moodle-filter_jwplayer/pulls/comments{/number}","comments_url":"https://api.github.com/repos/lucisgit/moodle-filter_jwplayer/issues/16/comments","statuses_url":"https://api.github.com/repos/lucisgit/moodle-filter_jwplayer/statuses/829e6c7e9d1b542fe4ca7b0222124aaa60851d4c","head":{"label":"sudile:dev-custombtn","ref":"dev-custombtn","sha":"829e6c7e9d1b542fe4ca7b0222124aaa60851d4c","user":{"login":"sudile","id":11869278,"avatar_url":"https://avatars.githubusercontent.com/u/11869278?v=3","gravatar_id":"","url":"https://api.github.com/users/sudile","html_url":"https://github.com/sudile","followers_url":"https://api.github.com/users/sudile/followers","following_url":"https://api.github.com/users/sudile/following{/other_user}","gists_url":"https://api.github.com/users/sudile/gists{/gist_id}","starred_url":"https://api.github.com/users/sudile/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sudile/subscriptions","organizations_url":"https://api.github.com/users/sudile/orgs","repos_url":"https://api.github.com/users/sudile/repos","events_url":"https://api.github.com/users/sudile/events{/privacy}","received_events_url":"https://api.github.com/users/sudile/received_events","type":"Organization","site_admin":false},"repo":{"id":26533207,"name":"moodle-filter_jwplayer","full_name":"sudile/moodle-filter_jwplayer","owner":{"login":"sudile","id":11869278,"avatar_url":"https://avatars.githubusercontent.com/u/11869278?v=3","gravatar_id":"","url":"https://api.github.com/users/sudile","html_url":"https://github.com/sudile","followers_url":"https://api.github.com/users/sudile/followers","following_url":"https://api.github.com/users/sudile/following{/other_user}","gists_url":"https://api.github.com/users/sudile/gists{/gist_id}","starred_url":"https://api.github.com/users/sudile/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sudile/subscriptions","organizations_url":"https://api.github.com/users/sudile/orgs","repos_url":"https://api.github.com/users/sudile/repos","events_url":"https://api.github.com/users/sudile/events{/privacy}","received_events_url":"https://api.github.com/users/sudile/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/sudile/moodle-filter_jwplayer","description":"Moodle filter that allows using JW Player for playing HTML5 and flash content.","fork":true,"url":"https://api.github.com/repos/sudile/moodle-filter_jwplayer","forks_url":"https://api.github.com/repos/sudile/moodle-filter_jwplayer/forks","keys_url":"https://api.github.com/repos/sudile/moodle-filter_jwplayer/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sudile/moodle-filter_jwplayer/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sudile/moodle-filter_jwplayer/teams","hooks_url":"https://api.github.com/repos/sudile/moodle-filter_jwplayer/hooks","issue_events_url":"https://api.github.com/repos/sudile/moodle-filter_jwplayer/issues/events{/number}","events_url":"https://api.github.com/repos/sudile/moodle-filter_jwplayer/events","assignees_url":"https://api.github.com/repos/sudile/moodle-filter_jwplayer/assignees{/user}","branches_url":"https://api.github.com/repos/sudile/moodle-filter_jwplayer/branches{/branch}","tags_url":"https://api.github.com/repos/sudile/moodle-filter_jwplayer/tags","blobs_url":"https://api.github.com/repos/sudile/moodle-filter_jwplayer/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sudile/moodle-filter_jwplayer/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sudile/moodle-filter_jwplayer/git/refs{/sha}","trees_url":"https://api.github.com/repos/sudile/moodle-filter_jwplayer/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sudile/moodle-filter_jwplayer/statuses/{sha}","languages_url":"https://api.github.com/repos/sudile/moodle-filter_jwplayer/languages","stargazers_url":"https://api.github.com/repos/sudile/moodle-filter_jwplayer/stargazers","contributors_url":"https://api.github.com/repos/sudile/moodle-filter_jwplayer/contributors","subscribers_url":"https://api.github.com/repos/sudile/moodle-filter_jwplayer/subscribers","subscription_url":"https://api.github.com/repos/sudile/moodle-filter_jwplayer/subscription","commits_url":"https://api.github.com/repos/sudile/moodle-filter_jwplayer/commits{/sha}","git_commits_url":"https://api.github.com/repos/sudile/moodle-filter_jwplayer/git/commits{/sha}","comments_url":"https://api.github.com/repos/sudile/moodle-filter_jwplayer/comments{/number}","issue_comment_url":"https://api.github.com/repos/sudile/moodle-filter_jwplayer/issues/comments{/number}","contents_url":"https://api.github.com/repos/sudile/moodle-filter_jwplayer/contents/{+path}","compare_url":"https://api.github.com/repos/sudile/moodle-filter_jwplayer/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sudile/moodle-filter_jwplayer/merges","archive_url":"https://api.github.com/repos/sudile/moodle-filter_jwplayer/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sudile/moodle-filter_jwplayer/downloads","issues_url":"https://api.github.com/repos/sudile/moodle-filter_jwplayer/issues{/number}","pulls_url":"https://api.github.com/repos/sudile/moodle-filter_jwplayer/pulls{/number}","milestones_url":"https://api.github.com/repos/sudile/moodle-filter_jwplayer/milestones{/number}","notifications_url":"https://api.github.com/repos/sudile/moodle-filter_jwplayer/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sudile/moodle-filter_jwplayer/labels{/name}","releases_url":"https://api.github.com/repos/sudile/moodle-filter_jwplayer/releases{/id}","created_at":"2014-11-12T11:38:21Z","updated_at":"2015-07-15T08:40:55Z","pushed_at":"2015-07-10T07:22:43Z","git_url":"git://github.com/sudile/moodle-filter_jwplayer.git","ssh_url":"git@github.com:sudile/moodle-filter_jwplayer.git","clone_url":"https://github.com/sudile/moodle-filter_jwplayer.git","svn_url":"https://github.com/sudile/moodle-filter_jwplayer","homepage":"","size":277,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"fork/master"}},"base":{"label":"lucisgit:master","ref":"master","sha":"7abb9eb0ad9f075ef2e8587923fd25cf350bcfc5","user":{"login":"lucisgit","id":2512060,"avatar_url":"https://avatars.githubusercontent.com/u/2512060?v=3","gravatar_id":"","url":"https://api.github.com/users/lucisgit","html_url":"https://github.com/lucisgit","followers_url":"https://api.github.com/users/lucisgit/followers","following_url":"https://api.github.com/users/lucisgit/following{/other_user}","gists_url":"https://api.github.com/users/lucisgit/gists{/gist_id}","starred_url":"https://api.github.com/users/lucisgit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lucisgit/subscriptions","organizations_url":"https://api.github.com/users/lucisgit/orgs","repos_url":"https://api.github.com/users/lucisgit/repos","events_url":"https://api.github.com/users/lucisgit/events{/privacy}","received_events_url":"https://api.github.com/users/lucisgit/received_events","type":"Organization","site_admin":false},"repo":{"id":18805234,"name":"moodle-filter_jwplayer","full_name":"lucisgit/moodle-filter_jwplayer","owner":{"login":"lucisgit","id":2512060,"avatar_url":"https://avatars.githubusercontent.com/u/2512060?v=3","gravatar_id":"","url":"https://api.github.com/users/lucisgit","html_url":"https://github.com/lucisgit","followers_url":"https://api.github.com/users/lucisgit/followers","following_url":"https://api.github.com/users/lucisgit/following{/other_user}","gists_url":"https://api.github.com/users/lucisgit/gists{/gist_id}","starred_url":"https://api.github.com/users/lucisgit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lucisgit/subscriptions","organizations_url":"https://api.github.com/users/lucisgit/orgs","repos_url":"https://api.github.com/users/lucisgit/repos","events_url":"https://api.github.com/users/lucisgit/events{/privacy}","received_events_url":"https://api.github.com/users/lucisgit/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/lucisgit/moodle-filter_jwplayer","description":"Moodle filter that allows using JW Player for playing HTML5 and flash content.","fork":false,"url":"https://api.github.com/repos/lucisgit/moodle-filter_jwplayer","forks_url":"https://api.github.com/repos/lucisgit/moodle-filter_jwplayer/forks","keys_url":"https://api.github.com/repos/lucisgit/moodle-filter_jwplayer/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lucisgit/moodle-filter_jwplayer/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lucisgit/moodle-filter_jwplayer/teams","hooks_url":"https://api.github.com/repos/lucisgit/moodle-filter_jwplayer/hooks","issue_events_url":"https://api.github.com/repos/lucisgit/moodle-filter_jwplayer/issues/events{/number}","events_url":"https://api.github.com/repos/lucisgit/moodle-filter_jwplayer/events","assignees_url":"https://api.github.com/repos/lucisgit/moodle-filter_jwplayer/assignees{/user}","branches_url":"https://api.github.com/repos/lucisgit/moodle-filter_jwplayer/branches{/branch}","tags_url":"https://api.github.com/repos/lucisgit/moodle-filter_jwplayer/tags","blobs_url":"https://api.github.com/repos/lucisgit/moodle-filter_jwplayer/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lucisgit/moodle-filter_jwplayer/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lucisgit/moodle-filter_jwplayer/git/refs{/sha}","trees_url":"https://api.github.com/repos/lucisgit/moodle-filter_jwplayer/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lucisgit/moodle-filter_jwplayer/statuses/{sha}","languages_url":"https://api.github.com/repos/lucisgit/moodle-filter_jwplayer/languages","stargazers_url":"https://api.github.com/repos/lucisgit/moodle-filter_jwplayer/stargazers","contributors_url":"https://api.github.com/repos/lucisgit/moodle-filter_jwplayer/contributors","subscribers_url":"https://api.github.com/repos/lucisgit/moodle-filter_jwplayer/subscribers","subscription_url":"https://api.github.com/repos/lucisgit/moodle-filter_jwplayer/subscription","commits_url":"https://api.github.com/repos/lucisgit/moodle-filter_jwplayer/commits{/sha}","git_commits_url":"https://api.github.com/repos/lucisgit/moodle-filter_jwplayer/git/commits{/sha}","comments_url":"https://api.github.com/repos/lucisgit/moodle-filter_jwplayer/comments{/number}","issue_comment_url":"https://api.github.com/repos/lucisgit/moodle-filter_jwplayer/issues/comments{/number}","contents_url":"https://api.github.com/repos/lucisgit/moodle-filter_jwplayer/contents/{+path}","compare_url":"https://api.github.com/repos/lucisgit/moodle-filter_jwplayer/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lucisgit/moodle-filter_jwplayer/merges","archive_url":"https://api.github.com/repos/lucisgit/moodle-filter_jwplayer/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lucisgit/moodle-filter_jwplayer/downloads","issues_url":"https://api.github.com/repos/lucisgit/moodle-filter_jwplayer/issues{/number}","pulls_url":"https://api.github.com/repos/lucisgit/moodle-filter_jwplayer/pulls{/number}","milestones_url":"https://api.github.com/repos/lucisgit/moodle-filter_jwplayer/milestones{/number}","notifications_url":"https://api.github.com/repos/lucisgit/moodle-filter_jwplayer/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lucisgit/moodle-filter_jwplayer/labels{/name}","releases_url":"https://api.github.com/repos/lucisgit/moodle-filter_jwplayer/releases{/id}","created_at":"2014-04-15T15:29:30Z","updated_at":"2015-05-13T15:17:42Z","pushed_at":"2015-08-07T12:54:25Z","git_url":"git://github.com/lucisgit/moodle-filter_jwplayer.git","ssh_url":"git@github.com:lucisgit/moodle-filter_jwplayer.git","clone_url":"https://github.com/lucisgit/moodle-filter_jwplayer.git","svn_url":"https://github.com/lucisgit/moodle-filter_jwplayer","homepage":"https://moodle.org/plugins/view/filter_jwplayer","size":408,"stargazers_count":5,"watchers_count":5,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":8,"forks":3,"open_issues":8,"watchers":5,"default_branch":"JW7"}},"_links":{"self":{"href":"https://api.github.com/repos/lucisgit/moodle-filter_jwplayer/pulls/16"},"html":{"href":"https://github.com/lucisgit/moodle-filter_jwplayer/pull/16"},"issue":{"href":"https://api.github.com/repos/lucisgit/moodle-filter_jwplayer/issues/16"},"comments":{"href":"https://api.github.com/repos/lucisgit/moodle-filter_jwplayer/issues/16/comments"},"review_comments":{"href":"https://api.github.com/repos/lucisgit/moodle-filter_jwplayer/pulls/16/comments"},"review_comment":{"href":"https://api.github.com/repos/lucisgit/moodle-filter_jwplayer/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/lucisgit/moodle-filter_jwplayer/pulls/16/commits"},"statuses":{"href":"https://api.github.com/repos/lucisgit/moodle-filter_jwplayer/statuses/829e6c7e9d1b542fe4ca7b0222124aaa60851d4c"}},"merged":false,"mergeable":false,"mergeable_state":"dirty","merged_by":null,"comments":3,"review_comments":0,"commits":2,"additions":46,"deletions":9,"changed_files":2}}