{"action":"created","comment":{"url":"https://api.github.com/repos/cloudinary/cloudinary-video-player/pulls/comments/185478367","pull_request_review_id":116873993,"id":185478367,"diff_hunk":"@@ -287,6 +299,20 @@ class VideoPlayer extends Utils.mixin(Eventable) {\n     });\n \n \n+    if (Object.keys(options.playerOptions.ads).length > 0 && typeof this.videojs.ima === 'object') {","path":"src/video-player.js","position":48,"original_position":48,"commit_id":"5944d1e068b9b69c9b7736f76acca270dbfcd54c","original_commit_id":"5944d1e068b9b69c9b7736f76acca270dbfcd54c","user":{"login":"mikeys","id":1187953,"avatar_url":"https://avatars0.githubusercontent.com/u/1187953?v=4","gravatar_id":"","url":"https://api.github.com/users/mikeys","html_url":"https://github.com/mikeys","followers_url":"https://api.github.com/users/mikeys/followers","following_url":"https://api.github.com/users/mikeys/following{/other_user}","gists_url":"https://api.github.com/users/mikeys/gists{/gist_id}","starred_url":"https://api.github.com/users/mikeys/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikeys/subscriptions","organizations_url":"https://api.github.com/users/mikeys/orgs","repos_url":"https://api.github.com/users/mikeys/repos","events_url":"https://api.github.com/users/mikeys/events{/privacy}","received_events_url":"https://api.github.com/users/mikeys/received_events","type":"User","site_admin":false},"body":"Once you create a player instance with \"ads\" options to enable ads, is there currently a way to turn it off?","created_at":"2018-05-02T12:28:13Z","updated_at":"2018-05-02T12:28:13Z","html_url":"https://github.com/cloudinary/cloudinary-video-player/pull/39#discussion_r185478367","pull_request_url":"https://api.github.com/repos/cloudinary/cloudinary-video-player/pulls/39","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/cloudinary/cloudinary-video-player/pulls/comments/185478367"},"html":{"href":"https://github.com/cloudinary/cloudinary-video-player/pull/39#discussion_r185478367"},"pull_request":{"href":"https://api.github.com/repos/cloudinary/cloudinary-video-player/pulls/39"}},"in_reply_to_id":184927232},"pull_request":{"url":"https://api.github.com/repos/cloudinary/cloudinary-video-player/pulls/39","id":184830600,"html_url":"https://github.com/cloudinary/cloudinary-video-player/pull/39","diff_url":"https://github.com/cloudinary/cloudinary-video-player/pull/39.diff","patch_url":"https://github.com/cloudinary/cloudinary-video-player/pull/39.patch","issue_url":"https://api.github.com/repos/cloudinary/cloudinary-video-player/issues/39","number":39,"state":"open","locked":false,"title":"Cld 7454 vast api improvements","user":{"login":"yaniv-li","id":522410,"avatar_url":"https://avatars2.githubusercontent.com/u/522410?v=4","gravatar_id":"","url":"https://api.github.com/users/yaniv-li","html_url":"https://github.com/yaniv-li","followers_url":"https://api.github.com/users/yaniv-li/followers","following_url":"https://api.github.com/users/yaniv-li/following{/other_user}","gists_url":"https://api.github.com/users/yaniv-li/gists{/gist_id}","starred_url":"https://api.github.com/users/yaniv-li/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yaniv-li/subscriptions","organizations_url":"https://api.github.com/users/yaniv-li/orgs","repos_url":"https://api.github.com/users/yaniv-li/repos","events_url":"https://api.github.com/users/yaniv-li/events{/privacy}","received_events_url":"https://api.github.com/users/yaniv-li/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-04-29T11:45:12Z","updated_at":"2018-05-02T12:28:13Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d16ae452a97b80fd1a11d7899d55364af3491a79","assignee":{"login":"yaniv-li","id":522410,"avatar_url":"https://avatars2.githubusercontent.com/u/522410?v=4","gravatar_id":"","url":"https://api.github.com/users/yaniv-li","html_url":"https://github.com/yaniv-li","followers_url":"https://api.github.com/users/yaniv-li/followers","following_url":"https://api.github.com/users/yaniv-li/following{/other_user}","gists_url":"https://api.github.com/users/yaniv-li/gists{/gist_id}","starred_url":"https://api.github.com/users/yaniv-li/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yaniv-li/subscriptions","organizations_url":"https://api.github.com/users/yaniv-li/orgs","repos_url":"https://api.github.com/users/yaniv-li/repos","events_url":"https://api.github.com/users/yaniv-li/events{/privacy}","received_events_url":"https://api.github.com/users/yaniv-li/received_events","type":"User","site_admin":false},"assignees":[{"login":"yaniv-li","id":522410,"avatar_url":"https://avatars2.githubusercontent.com/u/522410?v=4","gravatar_id":"","url":"https://api.github.com/users/yaniv-li","html_url":"https://github.com/yaniv-li","followers_url":"https://api.github.com/users/yaniv-li/followers","following_url":"https://api.github.com/users/yaniv-li/following{/other_user}","gists_url":"https://api.github.com/users/yaniv-li/gists{/gist_id}","starred_url":"https://api.github.com/users/yaniv-li/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yaniv-li/subscriptions","organizations_url":"https://api.github.com/users/yaniv-li/orgs","repos_url":"https://api.github.com/users/yaniv-li/repos","events_url":"https://api.github.com/users/yaniv-li/events{/privacy}","received_events_url":"https://api.github.com/users/yaniv-li/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/cloudinary/cloudinary-video-player/pulls/39/commits","review_comments_url":"https://api.github.com/repos/cloudinary/cloudinary-video-player/pulls/39/comments","review_comment_url":"https://api.github.com/repos/cloudinary/cloudinary-video-player/pulls/comments{/number}","comments_url":"https://api.github.com/repos/cloudinary/cloudinary-video-player/issues/39/comments","statuses_url":"https://api.github.com/repos/cloudinary/cloudinary-video-player/statuses/5944d1e068b9b69c9b7736f76acca270dbfcd54c","head":{"label":"cloudinary:CLD-7454-VAST-API-improvements","ref":"CLD-7454-VAST-API-improvements","sha":"5944d1e068b9b69c9b7736f76acca270dbfcd54c","user":{"login":"cloudinary","id":1460763,"avatar_url":"https://avatars0.githubusercontent.com/u/1460763?v=4","gravatar_id":"","url":"https://api.github.com/users/cloudinary","html_url":"https://github.com/cloudinary","followers_url":"https://api.github.com/users/cloudinary/followers","following_url":"https://api.github.com/users/cloudinary/following{/other_user}","gists_url":"https://api.github.com/users/cloudinary/gists{/gist_id}","starred_url":"https://api.github.com/users/cloudinary/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cloudinary/subscriptions","organizations_url":"https://api.github.com/users/cloudinary/orgs","repos_url":"https://api.github.com/users/cloudinary/repos","events_url":"https://api.github.com/users/cloudinary/events{/privacy}","received_events_url":"https://api.github.com/users/cloudinary/received_events","type":"Organization","site_admin":false},"repo":{"id":97703809,"name":"cloudinary-video-player","full_name":"cloudinary/cloudinary-video-player","owner":{"login":"cloudinary","id":1460763,"avatar_url":"https://avatars0.githubusercontent.com/u/1460763?v=4","gravatar_id":"","url":"https://api.github.com/users/cloudinary","html_url":"https://github.com/cloudinary","followers_url":"https://api.github.com/users/cloudinary/followers","following_url":"https://api.github.com/users/cloudinary/following{/other_user}","gists_url":"https://api.github.com/users/cloudinary/gists{/gist_id}","starred_url":"https://api.github.com/users/cloudinary/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cloudinary/subscriptions","organizations_url":"https://api.github.com/users/cloudinary/orgs","repos_url":"https://api.github.com/users/cloudinary/repos","events_url":"https://api.github.com/users/cloudinary/events{/privacy}","received_events_url":"https://api.github.com/users/cloudinary/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/cloudinary/cloudinary-video-player","description":"Cloudinary Video Player","fork":false,"url":"https://api.github.com/repos/cloudinary/cloudinary-video-player","forks_url":"https://api.github.com/repos/cloudinary/cloudinary-video-player/forks","keys_url":"https://api.github.com/repos/cloudinary/cloudinary-video-player/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cloudinary/cloudinary-video-player/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cloudinary/cloudinary-video-player/teams","hooks_url":"https://api.github.com/repos/cloudinary/cloudinary-video-player/hooks","issue_events_url":"https://api.github.com/repos/cloudinary/cloudinary-video-player/issues/events{/number}","events_url":"https://api.github.com/repos/cloudinary/cloudinary-video-player/events","assignees_url":"https://api.github.com/repos/cloudinary/cloudinary-video-player/assignees{/user}","branches_url":"https://api.github.com/repos/cloudinary/cloudinary-video-player/branches{/branch}","tags_url":"https://api.github.com/repos/cloudinary/cloudinary-video-player/tags","blobs_url":"https://api.github.com/repos/cloudinary/cloudinary-video-player/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cloudinary/cloudinary-video-player/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cloudinary/cloudinary-video-player/git/refs{/sha}","trees_url":"https://api.github.com/repos/cloudinary/cloudinary-video-player/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cloudinary/cloudinary-video-player/statuses/{sha}","languages_url":"https://api.github.com/repos/cloudinary/cloudinary-video-player/languages","stargazers_url":"https://api.github.com/repos/cloudinary/cloudinary-video-player/stargazers","contributors_url":"https://api.github.com/repos/cloudinary/cloudinary-video-player/contributors","subscribers_url":"https://api.github.com/repos/cloudinary/cloudinary-video-player/subscribers","subscription_url":"https://api.github.com/repos/cloudinary/cloudinary-video-player/subscription","commits_url":"https://api.github.com/repos/cloudinary/cloudinary-video-player/commits{/sha}","git_commits_url":"https://api.github.com/repos/cloudinary/cloudinary-video-player/git/commits{/sha}","comments_url":"https://api.github.com/repos/cloudinary/cloudinary-video-player/comments{/number}","issue_comment_url":"https://api.github.com/repos/cloudinary/cloudinary-video-player/issues/comments{/number}","contents_url":"https://api.github.com/repos/cloudinary/cloudinary-video-player/contents/{+path}","compare_url":"https://api.github.com/repos/cloudinary/cloudinary-video-player/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cloudinary/cloudinary-video-player/merges","archive_url":"https://api.github.com/repos/cloudinary/cloudinary-video-player/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cloudinary/cloudinary-video-player/downloads","issues_url":"https://api.github.com/repos/cloudinary/cloudinary-video-player/issues{/number}","pulls_url":"https://api.github.com/repos/cloudinary/cloudinary-video-player/pulls{/number}","milestones_url":"https://api.github.com/repos/cloudinary/cloudinary-video-player/milestones{/number}","notifications_url":"https://api.github.com/repos/cloudinary/cloudinary-video-player/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cloudinary/cloudinary-video-player/labels{/name}","releases_url":"https://api.github.com/repos/cloudinary/cloudinary-video-player/releases{/id}","deployments_url":"https://api.github.com/repos/cloudinary/cloudinary-video-player/deployments","created_at":"2017-07-19T10:24:51Z","updated_at":"2018-05-02T11:40:20Z","pushed_at":"2018-05-02T11:40:18Z","git_url":"git://github.com/cloudinary/cloudinary-video-player.git","ssh_url":"git@github.com:cloudinary/cloudinary-video-player.git","clone_url":"https://github.com/cloudinary/cloudinary-video-player.git","svn_url":"https://github.com/cloudinary/cloudinary-video-player","homepage":null,"size":2707,"stargazers_count":7,"watchers_count":7,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"archived":false,"open_issues_count":2,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":4,"open_issues":2,"watchers":7,"default_branch":"master"}},"base":{"label":"cloudinary:master","ref":"master","sha":"1aec35c389f36588a2310bd28ddc5872bfb60e4f","user":{"login":"cloudinary","id":1460763,"avatar_url":"https://avatars0.githubusercontent.com/u/1460763?v=4","gravatar_id":"","url":"https://api.github.com/users/cloudinary","html_url":"https://github.com/cloudinary","followers_url":"https://api.github.com/users/cloudinary/followers","following_url":"https://api.github.com/users/cloudinary/following{/other_user}","gists_url":"https://api.github.com/users/cloudinary/gists{/gist_id}","starred_url":"https://api.github.com/users/cloudinary/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cloudinary/subscriptions","organizations_url":"https://api.github.com/users/cloudinary/orgs","repos_url":"https://api.github.com/users/cloudinary/repos","events_url":"https://api.github.com/users/cloudinary/events{/privacy}","received_events_url":"https://api.github.com/users/cloudinary/received_events","type":"Organization","site_admin":false},"repo":{"id":97703809,"name":"cloudinary-video-player","full_name":"cloudinary/cloudinary-video-player","owner":{"login":"cloudinary","id":1460763,"avatar_url":"https://avatars0.githubusercontent.com/u/1460763?v=4","gravatar_id":"","url":"https://api.github.com/users/cloudinary","html_url":"https://github.com/cloudinary","followers_url":"https://api.github.com/users/cloudinary/followers","following_url":"https://api.github.com/users/cloudinary/following{/other_user}","gists_url":"https://api.github.com/users/cloudinary/gists{/gist_id}","starred_url":"https://api.github.com/users/cloudinary/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cloudinary/subscriptions","organizations_url":"https://api.github.com/users/cloudinary/orgs","repos_url":"https://api.github.com/users/cloudinary/repos","events_url":"https://api.github.com/users/cloudinary/events{/privacy}","received_events_url":"https://api.github.com/users/cloudinary/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/cloudinary/cloudinary-video-player","description":"Cloudinary Video Player","fork":false,"url":"https://api.github.com/repos/cloudinary/cloudinary-video-player","forks_url":"https://api.github.com/repos/cloudinary/cloudinary-video-player/forks","keys_url":"https://api.github.com/repos/cloudinary/cloudinary-video-player/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cloudinary/cloudinary-video-player/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cloudinary/cloudinary-video-player/teams","hooks_url":"https://api.github.com/repos/cloudinary/cloudinary-video-player/hooks","issue_events_url":"https://api.github.com/repos/cloudinary/cloudinary-video-player/issues/events{/number}","events_url":"https://api.github.com/repos/cloudinary/cloudinary-video-player/events","assignees_url":"https://api.github.com/repos/cloudinary/cloudinary-video-player/assignees{/user}","branches_url":"https://api.github.com/repos/cloudinary/cloudinary-video-player/branches{/branch}","tags_url":"https://api.github.com/repos/cloudinary/cloudinary-video-player/tags","blobs_url":"https://api.github.com/repos/cloudinary/cloudinary-video-player/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cloudinary/cloudinary-video-player/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cloudinary/cloudinary-video-player/git/refs{/sha}","trees_url":"https://api.github.com/repos/cloudinary/cloudinary-video-player/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cloudinary/cloudinary-video-player/statuses/{sha}","languages_url":"https://api.github.com/repos/cloudinary/cloudinary-video-player/languages","stargazers_url":"https://api.github.com/repos/cloudinary/cloudinary-video-player/stargazers","contributors_url":"https://api.github.com/repos/cloudinary/cloudinary-video-player/contributors","subscribers_url":"https://api.github.com/repos/cloudinary/cloudinary-video-player/subscribers","subscription_url":"https://api.github.com/repos/cloudinary/cloudinary-video-player/subscription","commits_url":"https://api.github.com/repos/cloudinary/cloudinary-video-player/commits{/sha}","git_commits_url":"https://api.github.com/repos/cloudinary/cloudinary-video-player/git/commits{/sha}","comments_url":"https://api.github.com/repos/cloudinary/cloudinary-video-player/comments{/number}","issue_comment_url":"https://api.github.com/repos/cloudinary/cloudinary-video-player/issues/comments{/number}","contents_url":"https://api.github.com/repos/cloudinary/cloudinary-video-player/contents/{+path}","compare_url":"https://api.github.com/repos/cloudinary/cloudinary-video-player/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cloudinary/cloudinary-video-player/merges","archive_url":"https://api.github.com/repos/cloudinary/cloudinary-video-player/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cloudinary/cloudinary-video-player/downloads","issues_url":"https://api.github.com/repos/cloudinary/cloudinary-video-player/issues{/number}","pulls_url":"https://api.github.com/repos/cloudinary/cloudinary-video-player/pulls{/number}","milestones_url":"https://api.github.com/repos/cloudinary/cloudinary-video-player/milestones{/number}","notifications_url":"https://api.github.com/repos/cloudinary/cloudinary-video-player/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cloudinary/cloudinary-video-player/labels{/name}","releases_url":"https://api.github.com/repos/cloudinary/cloudinary-video-player/releases{/id}","deployments_url":"https://api.github.com/repos/cloudinary/cloudinary-video-player/deployments","created_at":"2017-07-19T10:24:51Z","updated_at":"2018-05-02T11:40:20Z","pushed_at":"2018-05-02T11:40:18Z","git_url":"git://github.com/cloudinary/cloudinary-video-player.git","ssh_url":"git@github.com:cloudinary/cloudinary-video-player.git","clone_url":"https://github.com/cloudinary/cloudinary-video-player.git","svn_url":"https://github.com/cloudinary/cloudinary-video-player","homepage":null,"size":2707,"stargazers_count":7,"watchers_count":7,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"archived":false,"open_issues_count":2,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":4,"open_issues":2,"watchers":7,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/cloudinary/cloudinary-video-player/pulls/39"},"html":{"href":"https://github.com/cloudinary/cloudinary-video-player/pull/39"},"issue":{"href":"https://api.github.com/repos/cloudinary/cloudinary-video-player/issues/39"},"comments":{"href":"https://api.github.com/repos/cloudinary/cloudinary-video-player/issues/39/comments"},"review_comments":{"href":"https://api.github.com/repos/cloudinary/cloudinary-video-player/pulls/39/comments"},"review_comment":{"href":"https://api.github.com/repos/cloudinary/cloudinary-video-player/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/cloudinary/cloudinary-video-player/pulls/39/commits"},"statuses":{"href":"https://api.github.com/repos/cloudinary/cloudinary-video-player/statuses/5944d1e068b9b69c9b7736f76acca270dbfcd54c"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"mikeys"}}