{"action":"created","issue":{"url":"https://api.github.com/repos/wilsonge/joomla-cms/issues/15","labels_url":"https://api.github.com/repos/wilsonge/joomla-cms/issues/15/labels{/name}","comments_url":"https://api.github.com/repos/wilsonge/joomla-cms/issues/15/comments","events_url":"https://api.github.com/repos/wilsonge/joomla-cms/issues/15/events","html_url":"https://github.com/wilsonge/joomla-cms/pull/15","id":104888727,"number":15,"title":"Stop playing the video on the modal close","user":{"login":"dgt41","id":3889375,"avatar_url":"https://avatars.githubusercontent.com/u/3889375?v=3","gravatar_id":"","url":"https://api.github.com/users/dgt41","html_url":"https://github.com/dgt41","followers_url":"https://api.github.com/users/dgt41/followers","following_url":"https://api.github.com/users/dgt41/following{/other_user}","gists_url":"https://api.github.com/users/dgt41/gists{/gist_id}","starred_url":"https://api.github.com/users/dgt41/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dgt41/subscriptions","organizations_url":"https://api.github.com/users/dgt41/orgs","repos_url":"https://api.github.com/users/dgt41/repos","events_url":"https://api.github.com/users/dgt41/events{/privacy}","received_events_url":"https://api.github.com/users/dgt41/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-09-04T13:15:05Z","updated_at":"2015-09-04T17:03:32Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/wilsonge/joomla-cms/pulls/15","html_url":"https://github.com/wilsonge/joomla-cms/pull/15","diff_url":"https://github.com/wilsonge/joomla-cms/pull/15.diff","patch_url":"https://github.com/wilsonge/joomla-cms/pull/15.patch"},"body":"Caution this isn’t full proof solution as it will start playing the video on the modal exit if video was paused before :(\r\nThis needs one more if statement but can figure out how to get the player’s state "},"comment":{"url":"https://api.github.com/repos/wilsonge/joomla-cms/issues/comments/137793657","html_url":"https://github.com/wilsonge/joomla-cms/pull/15#issuecomment-137793657","issue_url":"https://api.github.com/repos/wilsonge/joomla-cms/issues/15","id":137793657,"user":{"login":"wilsonge","id":1986000,"avatar_url":"https://avatars.githubusercontent.com/u/1986000?v=3","gravatar_id":"","url":"https://api.github.com/users/wilsonge","html_url":"https://github.com/wilsonge","followers_url":"https://api.github.com/users/wilsonge/followers","following_url":"https://api.github.com/users/wilsonge/following{/other_user}","gists_url":"https://api.github.com/users/wilsonge/gists{/gist_id}","starred_url":"https://api.github.com/users/wilsonge/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wilsonge/subscriptions","organizations_url":"https://api.github.com/users/wilsonge/orgs","repos_url":"https://api.github.com/users/wilsonge/repos","events_url":"https://api.github.com/users/wilsonge/events{/privacy}","received_events_url":"https://api.github.com/users/wilsonge/received_events","type":"User","site_admin":false},"created_at":"2015-09-04T17:03:32Z","updated_at":"2015-09-04T17:03:32Z","body":"I'm pretty sure there is a pause function (see: http://mediaelementjs.com/#installation - section 3). I'll have a play around with the code you provided"}}