{"action":"created","comment":{"url":"https://api.github.com/repos/jwplayer/jwplayer/pulls/comments/26806765","id":26806765,"diff_hunk":"@@ -1,63 +1,64 @@\n-# [JW Player](http://jwplayer.com)\r\n+# <img height=\"70px\" src=\"http://www.jwplayer.com/wp-content/uploads/JWP-GitHub-Banner-1.png\" alt=\"JW Player Logo\" title=\"JW Player Logo\"/>\r\n \r\n-<img src=\"http://www.jwplayer.com/wp-content/uploads/social_thumb.png\" alt=\"JW Player Logo\" title=\"JW Player Logo\" align=\"right\" width=\"150\" />\r\n+> Plays everywhere, every time.\r\n+> \r\n+> JW Player is -the- open source solution for making video playback seamless across browsers and file types. \r\n+> It empowers the developer to interact with video programmatically to create unique and awesome user experiences.\r\n+ \r\n+[Code Examples](http://support.jwplayer.com/customer/portal/topics/564475-javascript-api/articles)\r\n \r\n-JW Player is a the world's most popular embeddable media player.\r\n+[Documentation and Support](http://support.jwplayer.com/)\r\n \r\n-* **Cross browser:** Play your video and audio files easily on all major browsers and mobile devices. Full details [here](http://support.jwplayer.com/customer/portal/articles/1403727-what-is-jw-player-).\r\n-* **Media formats:** Play MP4, WebM, FLV, HLS, YouTube videos, [and more](http://support.jwplayer.com/customer/portal/articles/1403635-media-format-reference).\r\n-* **Open Source:** JW Player is free for non-commercial use. For commercial uses, users must [purchase a license](http://www.jwplayer.com/pricing/).\r\n \r\n-For documentation and support, please visit the [JW Player Support Site](http://support.jwplayer.com/).\r\n+## Example\r\n \r\n-## Examples\r\n-\r\n-We have several articles and examples on the [JW Player Support Site](http://support.jwplayer.com/customer/portal/topics/564475-javascript-api/articles).\r\n-\r\n-The example below will find the element with an id of *myVideoId* and render a video player into it. We will then\r\n-create an event handler to watch for when someone changes the volume.\r\n+The example below will find the element with an id of *my_video* and render a video player into it. \r\n \r\n ```js\r\n-\tjwplayer('myVideoId').setup({\r\n+    // Create a jwplayer instance\r\n+\tjwplayer('my_video').setup({\r\n \t\tfile: '/uploads/example.mp4',\r\n \t});\r\n \r\n-\tjwplayer('myVideoId').onVolume(function(event) {\r\n-\t\tconsole.log('The volume has changed', event);\r\n+    // Add a custom callback for when user pauses playback\r\n+\tjwplayer('my_video').onPause(function(event) {\r","path":"README.md","position":40,"original_position":40,"commit_id":"7898e8ab8f4141c7977e6f147024562d5409b399","original_commit_id":"7898e8ab8f4141c7977e6f147024562d5409b399","user":{"login":"robwalch","id":333258,"avatar_url":"https://avatars.githubusercontent.com/u/333258?v=3","gravatar_id":"","url":"https://api.github.com/users/robwalch","html_url":"https://github.com/robwalch","followers_url":"https://api.github.com/users/robwalch/followers","following_url":"https://api.github.com/users/robwalch/following{/other_user}","gists_url":"https://api.github.com/users/robwalch/gists{/gist_id}","starred_url":"https://api.github.com/users/robwalch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robwalch/subscriptions","organizations_url":"https://api.github.com/users/robwalch/orgs","repos_url":"https://api.github.com/users/robwalch/repos","events_url":"https://api.github.com/users/robwalch/events{/privacy}","received_events_url":"https://api.github.com/users/robwalch/received_events","type":"User","site_admin":false},"body":"```jwplayer('my_video').on('pause', function(event) {```","created_at":"2015-03-19T23:05:46Z","updated_at":"2015-03-19T23:05:46Z","html_url":"https://github.com/jwplayer/jwplayer/pull/312#discussion_r26806765","pull_request_url":"https://api.github.com/repos/jwplayer/jwplayer/pulls/312","_links":{"self":{"href":"https://api.github.com/repos/jwplayer/jwplayer/pulls/comments/26806765"},"html":{"href":"https://github.com/jwplayer/jwplayer/pull/312#discussion_r26806765"},"pull_request":{"href":"https://api.github.com/repos/jwplayer/jwplayer/pulls/312"}}},"pull_request":{"url":"https://api.github.com/repos/jwplayer/jwplayer/pulls/312","id":31571715,"html_url":"https://github.com/jwplayer/jwplayer/pull/312","diff_url":"https://github.com/jwplayer/jwplayer/pull/312.diff","patch_url":"https://github.com/jwplayer/jwplayer/pull/312.patch","issue_url":"https://api.github.com/repos/jwplayer/jwplayer/issues/312","number":312,"state":"open","locked":false,"title":"Update readme and banner","user":{"login":"DonatoB","id":939778,"avatar_url":"https://avatars.githubusercontent.com/u/939778?v=3","gravatar_id":"","url":"https://api.github.com/users/DonatoB","html_url":"https://github.com/DonatoB","followers_url":"https://api.github.com/users/DonatoB/followers","following_url":"https://api.github.com/users/DonatoB/following{/other_user}","gists_url":"https://api.github.com/users/DonatoB/gists{/gist_id}","starred_url":"https://api.github.com/users/DonatoB/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DonatoB/subscriptions","organizations_url":"https://api.github.com/users/DonatoB/orgs","repos_url":"https://api.github.com/users/DonatoB/repos","events_url":"https://api.github.com/users/DonatoB/events{/privacy}","received_events_url":"https://api.github.com/users/DonatoB/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-03-19T22:14:44Z","updated_at":"2015-03-19T23:05:46Z","closed_at":null,"merged_at":null,"merge_commit_sha":"5fcc2a05f8dad61779b8ecea17bb23872f209cf9","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/jwplayer/jwplayer/pulls/312/commits","review_comments_url":"https://api.github.com/repos/jwplayer/jwplayer/pulls/312/comments","review_comment_url":"https://api.github.com/repos/jwplayer/jwplayer/pulls/comments{/number}","comments_url":"https://api.github.com/repos/jwplayer/jwplayer/issues/312/comments","statuses_url":"https://api.github.com/repos/jwplayer/jwplayer/statuses/7898e8ab8f4141c7977e6f147024562d5409b399","head":{"label":"jwplayer:jwplayer7/readme","ref":"jwplayer7/readme","sha":"7898e8ab8f4141c7977e6f147024562d5409b399","user":{"login":"jwplayer","id":5090060,"avatar_url":"https://avatars.githubusercontent.com/u/5090060?v=3","gravatar_id":"","url":"https://api.github.com/users/jwplayer","html_url":"https://github.com/jwplayer","followers_url":"https://api.github.com/users/jwplayer/followers","following_url":"https://api.github.com/users/jwplayer/following{/other_user}","gists_url":"https://api.github.com/users/jwplayer/gists{/gist_id}","starred_url":"https://api.github.com/users/jwplayer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jwplayer/subscriptions","organizations_url":"https://api.github.com/users/jwplayer/orgs","repos_url":"https://api.github.com/users/jwplayer/repos","events_url":"https://api.github.com/users/jwplayer/events{/privacy}","received_events_url":"https://api.github.com/users/jwplayer/received_events","type":"Organization","site_admin":false},"repo":{"id":18307175,"name":"jwplayer","full_name":"jwplayer/jwplayer","owner":{"login":"jwplayer","id":5090060,"avatar_url":"https://avatars.githubusercontent.com/u/5090060?v=3","gravatar_id":"","url":"https://api.github.com/users/jwplayer","html_url":"https://github.com/jwplayer","followers_url":"https://api.github.com/users/jwplayer/followers","following_url":"https://api.github.com/users/jwplayer/following{/other_user}","gists_url":"https://api.github.com/users/jwplayer/gists{/gist_id}","starred_url":"https://api.github.com/users/jwplayer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jwplayer/subscriptions","organizations_url":"https://api.github.com/users/jwplayer/orgs","repos_url":"https://api.github.com/users/jwplayer/repos","events_url":"https://api.github.com/users/jwplayer/events{/privacy}","received_events_url":"https://api.github.com/users/jwplayer/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/jwplayer/jwplayer","description":"JW Player is a the world's most popular embeddable media player. For documentation and support, please visit the JW Player Support Site:","fork":false,"url":"https://api.github.com/repos/jwplayer/jwplayer","forks_url":"https://api.github.com/repos/jwplayer/jwplayer/forks","keys_url":"https://api.github.com/repos/jwplayer/jwplayer/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jwplayer/jwplayer/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jwplayer/jwplayer/teams","hooks_url":"https://api.github.com/repos/jwplayer/jwplayer/hooks","issue_events_url":"https://api.github.com/repos/jwplayer/jwplayer/issues/events{/number}","events_url":"https://api.github.com/repos/jwplayer/jwplayer/events","assignees_url":"https://api.github.com/repos/jwplayer/jwplayer/assignees{/user}","branches_url":"https://api.github.com/repos/jwplayer/jwplayer/branches{/branch}","tags_url":"https://api.github.com/repos/jwplayer/jwplayer/tags","blobs_url":"https://api.github.com/repos/jwplayer/jwplayer/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jwplayer/jwplayer/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jwplayer/jwplayer/git/refs{/sha}","trees_url":"https://api.github.com/repos/jwplayer/jwplayer/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jwplayer/jwplayer/statuses/{sha}","languages_url":"https://api.github.com/repos/jwplayer/jwplayer/languages","stargazers_url":"https://api.github.com/repos/jwplayer/jwplayer/stargazers","contributors_url":"https://api.github.com/repos/jwplayer/jwplayer/contributors","subscribers_url":"https://api.github.com/repos/jwplayer/jwplayer/subscribers","subscription_url":"https://api.github.com/repos/jwplayer/jwplayer/subscription","commits_url":"https://api.github.com/repos/jwplayer/jwplayer/commits{/sha}","git_commits_url":"https://api.github.com/repos/jwplayer/jwplayer/git/commits{/sha}","comments_url":"https://api.github.com/repos/jwplayer/jwplayer/comments{/number}","issue_comment_url":"https://api.github.com/repos/jwplayer/jwplayer/issues/comments{/number}","contents_url":"https://api.github.com/repos/jwplayer/jwplayer/contents/{+path}","compare_url":"https://api.github.com/repos/jwplayer/jwplayer/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jwplayer/jwplayer/merges","archive_url":"https://api.github.com/repos/jwplayer/jwplayer/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jwplayer/jwplayer/downloads","issues_url":"https://api.github.com/repos/jwplayer/jwplayer/issues{/number}","pulls_url":"https://api.github.com/repos/jwplayer/jwplayer/pulls{/number}","milestones_url":"https://api.github.com/repos/jwplayer/jwplayer/milestones{/number}","notifications_url":"https://api.github.com/repos/jwplayer/jwplayer/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jwplayer/jwplayer/labels{/name}","releases_url":"https://api.github.com/repos/jwplayer/jwplayer/releases{/id}","created_at":"2014-03-31T20:34:20Z","updated_at":"2015-03-19T22:30:35Z","pushed_at":"2015-03-19T22:16:20Z","git_url":"git://github.com/jwplayer/jwplayer.git","ssh_url":"git@github.com:jwplayer/jwplayer.git","clone_url":"https://github.com/jwplayer/jwplayer.git","svn_url":"https://github.com/jwplayer/jwplayer","homepage":"http://support.jwplayer.com","size":82467,"stargazers_count":256,"watchers_count":256,"language":"ActionScript","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":146,"mirror_url":null,"open_issues_count":3,"forks":146,"open_issues":3,"watchers":256,"default_branch":"master"}},"base":{"label":"jwplayer:jwplayer7/master","ref":"jwplayer7/master","sha":"1deb111484fc91b2708480a2f29edf95f561bfb6","user":{"login":"jwplayer","id":5090060,"avatar_url":"https://avatars.githubusercontent.com/u/5090060?v=3","gravatar_id":"","url":"https://api.github.com/users/jwplayer","html_url":"https://github.com/jwplayer","followers_url":"https://api.github.com/users/jwplayer/followers","following_url":"https://api.github.com/users/jwplayer/following{/other_user}","gists_url":"https://api.github.com/users/jwplayer/gists{/gist_id}","starred_url":"https://api.github.com/users/jwplayer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jwplayer/subscriptions","organizations_url":"https://api.github.com/users/jwplayer/orgs","repos_url":"https://api.github.com/users/jwplayer/repos","events_url":"https://api.github.com/users/jwplayer/events{/privacy}","received_events_url":"https://api.github.com/users/jwplayer/received_events","type":"Organization","site_admin":false},"repo":{"id":18307175,"name":"jwplayer","full_name":"jwplayer/jwplayer","owner":{"login":"jwplayer","id":5090060,"avatar_url":"https://avatars.githubusercontent.com/u/5090060?v=3","gravatar_id":"","url":"https://api.github.com/users/jwplayer","html_url":"https://github.com/jwplayer","followers_url":"https://api.github.com/users/jwplayer/followers","following_url":"https://api.github.com/users/jwplayer/following{/other_user}","gists_url":"https://api.github.com/users/jwplayer/gists{/gist_id}","starred_url":"https://api.github.com/users/jwplayer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jwplayer/subscriptions","organizations_url":"https://api.github.com/users/jwplayer/orgs","repos_url":"https://api.github.com/users/jwplayer/repos","events_url":"https://api.github.com/users/jwplayer/events{/privacy}","received_events_url":"https://api.github.com/users/jwplayer/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/jwplayer/jwplayer","description":"JW Player is a the world's most popular embeddable media player. For documentation and support, please visit the JW Player Support Site:","fork":false,"url":"https://api.github.com/repos/jwplayer/jwplayer","forks_url":"https://api.github.com/repos/jwplayer/jwplayer/forks","keys_url":"https://api.github.com/repos/jwplayer/jwplayer/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jwplayer/jwplayer/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jwplayer/jwplayer/teams","hooks_url":"https://api.github.com/repos/jwplayer/jwplayer/hooks","issue_events_url":"https://api.github.com/repos/jwplayer/jwplayer/issues/events{/number}","events_url":"https://api.github.com/repos/jwplayer/jwplayer/events","assignees_url":"https://api.github.com/repos/jwplayer/jwplayer/assignees{/user}","branches_url":"https://api.github.com/repos/jwplayer/jwplayer/branches{/branch}","tags_url":"https://api.github.com/repos/jwplayer/jwplayer/tags","blobs_url":"https://api.github.com/repos/jwplayer/jwplayer/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jwplayer/jwplayer/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jwplayer/jwplayer/git/refs{/sha}","trees_url":"https://api.github.com/repos/jwplayer/jwplayer/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jwplayer/jwplayer/statuses/{sha}","languages_url":"https://api.github.com/repos/jwplayer/jwplayer/languages","stargazers_url":"https://api.github.com/repos/jwplayer/jwplayer/stargazers","contributors_url":"https://api.github.com/repos/jwplayer/jwplayer/contributors","subscribers_url":"https://api.github.com/repos/jwplayer/jwplayer/subscribers","subscription_url":"https://api.github.com/repos/jwplayer/jwplayer/subscription","commits_url":"https://api.github.com/repos/jwplayer/jwplayer/commits{/sha}","git_commits_url":"https://api.github.com/repos/jwplayer/jwplayer/git/commits{/sha}","comments_url":"https://api.github.com/repos/jwplayer/jwplayer/comments{/number}","issue_comment_url":"https://api.github.com/repos/jwplayer/jwplayer/issues/comments{/number}","contents_url":"https://api.github.com/repos/jwplayer/jwplayer/contents/{+path}","compare_url":"https://api.github.com/repos/jwplayer/jwplayer/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jwplayer/jwplayer/merges","archive_url":"https://api.github.com/repos/jwplayer/jwplayer/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jwplayer/jwplayer/downloads","issues_url":"https://api.github.com/repos/jwplayer/jwplayer/issues{/number}","pulls_url":"https://api.github.com/repos/jwplayer/jwplayer/pulls{/number}","milestones_url":"https://api.github.com/repos/jwplayer/jwplayer/milestones{/number}","notifications_url":"https://api.github.com/repos/jwplayer/jwplayer/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jwplayer/jwplayer/labels{/name}","releases_url":"https://api.github.com/repos/jwplayer/jwplayer/releases{/id}","created_at":"2014-03-31T20:34:20Z","updated_at":"2015-03-19T22:30:35Z","pushed_at":"2015-03-19T22:16:20Z","git_url":"git://github.com/jwplayer/jwplayer.git","ssh_url":"git@github.com:jwplayer/jwplayer.git","clone_url":"https://github.com/jwplayer/jwplayer.git","svn_url":"https://github.com/jwplayer/jwplayer","homepage":"http://support.jwplayer.com","size":82467,"stargazers_count":256,"watchers_count":256,"language":"ActionScript","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":146,"mirror_url":null,"open_issues_count":3,"forks":146,"open_issues":3,"watchers":256,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/jwplayer/jwplayer/pulls/312"},"html":{"href":"https://github.com/jwplayer/jwplayer/pull/312"},"issue":{"href":"https://api.github.com/repos/jwplayer/jwplayer/issues/312"},"comments":{"href":"https://api.github.com/repos/jwplayer/jwplayer/issues/312/comments"},"review_comments":{"href":"https://api.github.com/repos/jwplayer/jwplayer/pulls/312/comments"},"review_comment":{"href":"https://api.github.com/repos/jwplayer/jwplayer/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/jwplayer/jwplayer/pulls/312/commits"},"statuses":{"href":"https://api.github.com/repos/jwplayer/jwplayer/statuses/7898e8ab8f4141c7977e6f147024562d5409b399"}}}}