{"action":"created","comment":{"url":"https://api.github.com/repos/fusioneng/gif2html5-plugin/pulls/comments/31055949","id":31055949,"diff_hunk":"@@ -201,7 +228,12 @@ public function action_admin_post_convert_cb() {\n \t\t\treturn;\n \t\t}\n \n-\t\tif ( ! isset( $_POST['mp4'] ) || ! isset( $_POST['snapshot'] ) ) {\n+\t\tif (\n+\t\t\t! isset( $_POST['mp4'] ) ||\n+\t\t\t! isset( $_POST['ogv'] ) ||\n+\t\t\t! isset( $_POST['webm'] ) ||\n+\t\t\t! isset( $_POST['snapshot'] )","path":"inc/class-gif2html5.php","position":141,"original_position":141,"commit_id":"94dced9caa48a3fa15b46ed44a7df92059ede4d6","original_commit_id":"94dced9caa48a3fa15b46ed44a7df92059ede4d6","user":{"login":"danielbachhuber","id":36432,"avatar_url":"https://avatars.githubusercontent.com/u/36432?v=3","gravatar_id":"","url":"https://api.github.com/users/danielbachhuber","html_url":"https://github.com/danielbachhuber","followers_url":"https://api.github.com/users/danielbachhuber/followers","following_url":"https://api.github.com/users/danielbachhuber/following{/other_user}","gists_url":"https://api.github.com/users/danielbachhuber/gists{/gist_id}","starred_url":"https://api.github.com/users/danielbachhuber/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danielbachhuber/subscriptions","organizations_url":"https://api.github.com/users/danielbachhuber/orgs","repos_url":"https://api.github.com/users/danielbachhuber/repos","events_url":"https://api.github.com/users/danielbachhuber/events{/privacy}","received_events_url":"https://api.github.com/users/danielbachhuber/received_events","type":"User","site_admin":false},"body":"> Maybe I should just check for at least one video type in the webhook payload?\r\n\r\nYep, and then each value should be set if the value is present in the request.","created_at":"2015-05-26T17:05:45Z","updated_at":"2015-05-26T17:05:45Z","html_url":"https://github.com/fusioneng/gif2html5-plugin/pull/38#discussion_r31055949","pull_request_url":"https://api.github.com/repos/fusioneng/gif2html5-plugin/pulls/38","_links":{"self":{"href":"https://api.github.com/repos/fusioneng/gif2html5-plugin/pulls/comments/31055949"},"html":{"href":"https://github.com/fusioneng/gif2html5-plugin/pull/38#discussion_r31055949"},"pull_request":{"href":"https://api.github.com/repos/fusioneng/gif2html5-plugin/pulls/38"}}},"pull_request":{"url":"https://api.github.com/repos/fusioneng/gif2html5-plugin/pulls/38","id":36204427,"html_url":"https://github.com/fusioneng/gif2html5-plugin/pull/38","diff_url":"https://github.com/fusioneng/gif2html5-plugin/pull/38.diff","patch_url":"https://github.com/fusioneng/gif2html5-plugin/pull/38.patch","issue_url":"https://api.github.com/repos/fusioneng/gif2html5-plugin/issues/38","number":38,"state":"open","locked":false,"title":"Include ogg/webm video types.","user":{"login":"mpatek","id":1451430,"avatar_url":"https://avatars.githubusercontent.com/u/1451430?v=3","gravatar_id":"","url":"https://api.github.com/users/mpatek","html_url":"https://github.com/mpatek","followers_url":"https://api.github.com/users/mpatek/followers","following_url":"https://api.github.com/users/mpatek/following{/other_user}","gists_url":"https://api.github.com/users/mpatek/gists{/gist_id}","starred_url":"https://api.github.com/users/mpatek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mpatek/subscriptions","organizations_url":"https://api.github.com/users/mpatek/orgs","repos_url":"https://api.github.com/users/mpatek/repos","events_url":"https://api.github.com/users/mpatek/events{/privacy}","received_events_url":"https://api.github.com/users/mpatek/received_events","type":"User","site_admin":false},"body":"See #36","created_at":"2015-05-26T13:54:39Z","updated_at":"2015-05-26T17:05:45Z","closed_at":null,"merged_at":null,"merge_commit_sha":"9d152814b82d559433b3893481a6efc51d67a0e5","assignee":{"login":"mpatek","id":1451430,"avatar_url":"https://avatars.githubusercontent.com/u/1451430?v=3","gravatar_id":"","url":"https://api.github.com/users/mpatek","html_url":"https://github.com/mpatek","followers_url":"https://api.github.com/users/mpatek/followers","following_url":"https://api.github.com/users/mpatek/following{/other_user}","gists_url":"https://api.github.com/users/mpatek/gists{/gist_id}","starred_url":"https://api.github.com/users/mpatek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mpatek/subscriptions","organizations_url":"https://api.github.com/users/mpatek/orgs","repos_url":"https://api.github.com/users/mpatek/repos","events_url":"https://api.github.com/users/mpatek/events{/privacy}","received_events_url":"https://api.github.com/users/mpatek/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/fusioneng/gif2html5-plugin/milestones/1","html_url":"https://github.com/fusioneng/gif2html5-plugin/milestones/v0.1.0","labels_url":"https://api.github.com/repos/fusioneng/gif2html5-plugin/milestones/1/labels","id":1075955,"number":1,"title":"v0.1.0","description":"","creator":{"login":"danielbachhuber","id":36432,"avatar_url":"https://avatars.githubusercontent.com/u/36432?v=3","gravatar_id":"","url":"https://api.github.com/users/danielbachhuber","html_url":"https://github.com/danielbachhuber","followers_url":"https://api.github.com/users/danielbachhuber/followers","following_url":"https://api.github.com/users/danielbachhuber/following{/other_user}","gists_url":"https://api.github.com/users/danielbachhuber/gists{/gist_id}","starred_url":"https://api.github.com/users/danielbachhuber/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danielbachhuber/subscriptions","organizations_url":"https://api.github.com/users/danielbachhuber/orgs","repos_url":"https://api.github.com/users/danielbachhuber/repos","events_url":"https://api.github.com/users/danielbachhuber/events{/privacy}","received_events_url":"https://api.github.com/users/danielbachhuber/received_events","type":"User","site_admin":false},"open_issues":10,"closed_issues":25,"state":"open","created_at":"2015-04-20T19:54:10Z","updated_at":"2015-05-26T16:26:18Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/fusioneng/gif2html5-plugin/pulls/38/commits","review_comments_url":"https://api.github.com/repos/fusioneng/gif2html5-plugin/pulls/38/comments","review_comment_url":"https://api.github.com/repos/fusioneng/gif2html5-plugin/pulls/comments{/number}","comments_url":"https://api.github.com/repos/fusioneng/gif2html5-plugin/issues/38/comments","statuses_url":"https://api.github.com/repos/fusioneng/gif2html5-plugin/statuses/94dced9caa48a3fa15b46ed44a7df92059ede4d6","head":{"label":"fusioneng:36-other-video-types","ref":"36-other-video-types","sha":"94dced9caa48a3fa15b46ed44a7df92059ede4d6","user":{"login":"fusioneng","id":8161069,"avatar_url":"https://avatars.githubusercontent.com/u/8161069?v=3","gravatar_id":"","url":"https://api.github.com/users/fusioneng","html_url":"https://github.com/fusioneng","followers_url":"https://api.github.com/users/fusioneng/followers","following_url":"https://api.github.com/users/fusioneng/following{/other_user}","gists_url":"https://api.github.com/users/fusioneng/gists{/gist_id}","starred_url":"https://api.github.com/users/fusioneng/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fusioneng/subscriptions","organizations_url":"https://api.github.com/users/fusioneng/orgs","repos_url":"https://api.github.com/users/fusioneng/repos","events_url":"https://api.github.com/users/fusioneng/events{/privacy}","received_events_url":"https://api.github.com/users/fusioneng/received_events","type":"Organization","site_admin":false},"repo":{"id":34282006,"name":"gif2html5-plugin","full_name":"fusioneng/gif2html5-plugin","owner":{"login":"fusioneng","id":8161069,"avatar_url":"https://avatars.githubusercontent.com/u/8161069?v=3","gravatar_id":"","url":"https://api.github.com/users/fusioneng","html_url":"https://github.com/fusioneng","followers_url":"https://api.github.com/users/fusioneng/followers","following_url":"https://api.github.com/users/fusioneng/following{/other_user}","gists_url":"https://api.github.com/users/fusioneng/gists{/gist_id}","starred_url":"https://api.github.com/users/fusioneng/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fusioneng/subscriptions","organizations_url":"https://api.github.com/users/fusioneng/orgs","repos_url":"https://api.github.com/users/fusioneng/repos","events_url":"https://api.github.com/users/fusioneng/events{/privacy}","received_events_url":"https://api.github.com/users/fusioneng/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/fusioneng/gif2html5-plugin","description":"Plugin to convert gif -> hml5","fork":false,"url":"https://api.github.com/repos/fusioneng/gif2html5-plugin","forks_url":"https://api.github.com/repos/fusioneng/gif2html5-plugin/forks","keys_url":"https://api.github.com/repos/fusioneng/gif2html5-plugin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/fusioneng/gif2html5-plugin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/fusioneng/gif2html5-plugin/teams","hooks_url":"https://api.github.com/repos/fusioneng/gif2html5-plugin/hooks","issue_events_url":"https://api.github.com/repos/fusioneng/gif2html5-plugin/issues/events{/number}","events_url":"https://api.github.com/repos/fusioneng/gif2html5-plugin/events","assignees_url":"https://api.github.com/repos/fusioneng/gif2html5-plugin/assignees{/user}","branches_url":"https://api.github.com/repos/fusioneng/gif2html5-plugin/branches{/branch}","tags_url":"https://api.github.com/repos/fusioneng/gif2html5-plugin/tags","blobs_url":"https://api.github.com/repos/fusioneng/gif2html5-plugin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/fusioneng/gif2html5-plugin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/fusioneng/gif2html5-plugin/git/refs{/sha}","trees_url":"https://api.github.com/repos/fusioneng/gif2html5-plugin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/fusioneng/gif2html5-plugin/statuses/{sha}","languages_url":"https://api.github.com/repos/fusioneng/gif2html5-plugin/languages","stargazers_url":"https://api.github.com/repos/fusioneng/gif2html5-plugin/stargazers","contributors_url":"https://api.github.com/repos/fusioneng/gif2html5-plugin/contributors","subscribers_url":"https://api.github.com/repos/fusioneng/gif2html5-plugin/subscribers","subscription_url":"https://api.github.com/repos/fusioneng/gif2html5-plugin/subscription","commits_url":"https://api.github.com/repos/fusioneng/gif2html5-plugin/commits{/sha}","git_commits_url":"https://api.github.com/repos/fusioneng/gif2html5-plugin/git/commits{/sha}","comments_url":"https://api.github.com/repos/fusioneng/gif2html5-plugin/comments{/number}","issue_comment_url":"https://api.github.com/repos/fusioneng/gif2html5-plugin/issues/comments{/number}","contents_url":"https://api.github.com/repos/fusioneng/gif2html5-plugin/contents/{+path}","compare_url":"https://api.github.com/repos/fusioneng/gif2html5-plugin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/fusioneng/gif2html5-plugin/merges","archive_url":"https://api.github.com/repos/fusioneng/gif2html5-plugin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/fusioneng/gif2html5-plugin/downloads","issues_url":"https://api.github.com/repos/fusioneng/gif2html5-plugin/issues{/number}","pulls_url":"https://api.github.com/repos/fusioneng/gif2html5-plugin/pulls{/number}","milestones_url":"https://api.github.com/repos/fusioneng/gif2html5-plugin/milestones{/number}","notifications_url":"https://api.github.com/repos/fusioneng/gif2html5-plugin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/fusioneng/gif2html5-plugin/labels{/name}","releases_url":"https://api.github.com/repos/fusioneng/gif2html5-plugin/releases{/id}","created_at":"2015-04-20T19:37:35Z","updated_at":"2015-05-20T13:07:00Z","pushed_at":"2015-05-26T14:13:43Z","git_url":"git://github.com/fusioneng/gif2html5-plugin.git","ssh_url":"git@github.com:fusioneng/gif2html5-plugin.git","clone_url":"https://github.com/fusioneng/gif2html5-plugin.git","svn_url":"https://github.com/fusioneng/gif2html5-plugin","homepage":"","size":793,"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":12,"forks":0,"open_issues":12,"watchers":0,"default_branch":"master"}},"base":{"label":"fusioneng:master","ref":"master","sha":"8343a4c77757f591591c5f51d81e10a55c394d65","user":{"login":"fusioneng","id":8161069,"avatar_url":"https://avatars.githubusercontent.com/u/8161069?v=3","gravatar_id":"","url":"https://api.github.com/users/fusioneng","html_url":"https://github.com/fusioneng","followers_url":"https://api.github.com/users/fusioneng/followers","following_url":"https://api.github.com/users/fusioneng/following{/other_user}","gists_url":"https://api.github.com/users/fusioneng/gists{/gist_id}","starred_url":"https://api.github.com/users/fusioneng/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fusioneng/subscriptions","organizations_url":"https://api.github.com/users/fusioneng/orgs","repos_url":"https://api.github.com/users/fusioneng/repos","events_url":"https://api.github.com/users/fusioneng/events{/privacy}","received_events_url":"https://api.github.com/users/fusioneng/received_events","type":"Organization","site_admin":false},"repo":{"id":34282006,"name":"gif2html5-plugin","full_name":"fusioneng/gif2html5-plugin","owner":{"login":"fusioneng","id":8161069,"avatar_url":"https://avatars.githubusercontent.com/u/8161069?v=3","gravatar_id":"","url":"https://api.github.com/users/fusioneng","html_url":"https://github.com/fusioneng","followers_url":"https://api.github.com/users/fusioneng/followers","following_url":"https://api.github.com/users/fusioneng/following{/other_user}","gists_url":"https://api.github.com/users/fusioneng/gists{/gist_id}","starred_url":"https://api.github.com/users/fusioneng/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fusioneng/subscriptions","organizations_url":"https://api.github.com/users/fusioneng/orgs","repos_url":"https://api.github.com/users/fusioneng/repos","events_url":"https://api.github.com/users/fusioneng/events{/privacy}","received_events_url":"https://api.github.com/users/fusioneng/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/fusioneng/gif2html5-plugin","description":"Plugin to convert gif -> hml5","fork":false,"url":"https://api.github.com/repos/fusioneng/gif2html5-plugin","forks_url":"https://api.github.com/repos/fusioneng/gif2html5-plugin/forks","keys_url":"https://api.github.com/repos/fusioneng/gif2html5-plugin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/fusioneng/gif2html5-plugin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/fusioneng/gif2html5-plugin/teams","hooks_url":"https://api.github.com/repos/fusioneng/gif2html5-plugin/hooks","issue_events_url":"https://api.github.com/repos/fusioneng/gif2html5-plugin/issues/events{/number}","events_url":"https://api.github.com/repos/fusioneng/gif2html5-plugin/events","assignees_url":"https://api.github.com/repos/fusioneng/gif2html5-plugin/assignees{/user}","branches_url":"https://api.github.com/repos/fusioneng/gif2html5-plugin/branches{/branch}","tags_url":"https://api.github.com/repos/fusioneng/gif2html5-plugin/tags","blobs_url":"https://api.github.com/repos/fusioneng/gif2html5-plugin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/fusioneng/gif2html5-plugin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/fusioneng/gif2html5-plugin/git/refs{/sha}","trees_url":"https://api.github.com/repos/fusioneng/gif2html5-plugin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/fusioneng/gif2html5-plugin/statuses/{sha}","languages_url":"https://api.github.com/repos/fusioneng/gif2html5-plugin/languages","stargazers_url":"https://api.github.com/repos/fusioneng/gif2html5-plugin/stargazers","contributors_url":"https://api.github.com/repos/fusioneng/gif2html5-plugin/contributors","subscribers_url":"https://api.github.com/repos/fusioneng/gif2html5-plugin/subscribers","subscription_url":"https://api.github.com/repos/fusioneng/gif2html5-plugin/subscription","commits_url":"https://api.github.com/repos/fusioneng/gif2html5-plugin/commits{/sha}","git_commits_url":"https://api.github.com/repos/fusioneng/gif2html5-plugin/git/commits{/sha}","comments_url":"https://api.github.com/repos/fusioneng/gif2html5-plugin/comments{/number}","issue_comment_url":"https://api.github.com/repos/fusioneng/gif2html5-plugin/issues/comments{/number}","contents_url":"https://api.github.com/repos/fusioneng/gif2html5-plugin/contents/{+path}","compare_url":"https://api.github.com/repos/fusioneng/gif2html5-plugin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/fusioneng/gif2html5-plugin/merges","archive_url":"https://api.github.com/repos/fusioneng/gif2html5-plugin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/fusioneng/gif2html5-plugin/downloads","issues_url":"https://api.github.com/repos/fusioneng/gif2html5-plugin/issues{/number}","pulls_url":"https://api.github.com/repos/fusioneng/gif2html5-plugin/pulls{/number}","milestones_url":"https://api.github.com/repos/fusioneng/gif2html5-plugin/milestones{/number}","notifications_url":"https://api.github.com/repos/fusioneng/gif2html5-plugin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/fusioneng/gif2html5-plugin/labels{/name}","releases_url":"https://api.github.com/repos/fusioneng/gif2html5-plugin/releases{/id}","created_at":"2015-04-20T19:37:35Z","updated_at":"2015-05-20T13:07:00Z","pushed_at":"2015-05-26T14:13:43Z","git_url":"git://github.com/fusioneng/gif2html5-plugin.git","ssh_url":"git@github.com:fusioneng/gif2html5-plugin.git","clone_url":"https://github.com/fusioneng/gif2html5-plugin.git","svn_url":"https://github.com/fusioneng/gif2html5-plugin","homepage":"","size":793,"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":12,"forks":0,"open_issues":12,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/fusioneng/gif2html5-plugin/pulls/38"},"html":{"href":"https://github.com/fusioneng/gif2html5-plugin/pull/38"},"issue":{"href":"https://api.github.com/repos/fusioneng/gif2html5-plugin/issues/38"},"comments":{"href":"https://api.github.com/repos/fusioneng/gif2html5-plugin/issues/38/comments"},"review_comments":{"href":"https://api.github.com/repos/fusioneng/gif2html5-plugin/pulls/38/comments"},"review_comment":{"href":"https://api.github.com/repos/fusioneng/gif2html5-plugin/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/fusioneng/gif2html5-plugin/pulls/38/commits"},"statuses":{"href":"https://api.github.com/repos/fusioneng/gif2html5-plugin/statuses/94dced9caa48a3fa15b46ed44a7df92059ede4d6"}}}}