{"action":"created","comment":{"url":"https://api.github.com/repos/clappr/clappr/pulls/comments/40166631","id":40166631,"diff_hunk":"@@ -0,0 +1,78 @@\n+import {requestAnimationFrame} from 'base/utils'\n+\n+import Playback from 'base/playback'\n+import template from 'base/template'\n+import Styler from 'base/styler'\n+import Events from 'base/events'\n+import Browser from 'components/browser'\n+import noOpStyle from './public/style.scss'\n+import noOpHTML from './public/error.html'\n+\n+export default class NoFlash extends Playback {\n+  get name() { return 'no_flash' }\n+  get template() { return template(noOpHTML) }\n+  get attributes() {\n+    return {'data-no-flash': ''}\n+  }\n+\n+  constructor(options) {\n+    super(options);\n+  }\n+\n+  render() {\n+    var style = Styler.getStyleFor(noOpStyle);\n+    this.$el.html(this.template())\n+    this.$el.append(style);\n+    this.animate()\n+    this.trigger(Events.PLAYBACK_READY, this.name)\n+    return this\n+  }\n+\n+  noise() {\n+    var idata = this.context.createImageData(this.context.canvas.width, this.context.canvas.height)\n+\n+    try {\n+      var buffer32 = new Uint32Array(idata.data.buffer)\n+    } catch (err) {\n+        var buffer32 = new Uint32Array(this.context.canvas.width * this.context.canvas.height * 4)","path":"src/playbacks/no_flash/no_flash.js","position":37,"original_position":37,"commit_id":"64ea27440d309e06c0f568fede26faddb15d26c4","original_commit_id":"64ea27440d309e06c0f568fede26faddb15d26c4","user":{"login":"houndci","id":6697940,"avatar_url":"https://avatars.githubusercontent.com/u/6697940?v=3","gravatar_id":"","url":"https://api.github.com/users/houndci","html_url":"https://github.com/houndci","followers_url":"https://api.github.com/users/houndci/followers","following_url":"https://api.github.com/users/houndci/following{/other_user}","gists_url":"https://api.github.com/users/houndci/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci/subscriptions","organizations_url":"https://api.github.com/users/houndci/orgs","repos_url":"https://api.github.com/users/houndci/repos","events_url":"https://api.github.com/users/houndci/events{/privacy}","received_events_url":"https://api.github.com/users/houndci/received_events","type":"User","site_admin":false},"body":"Line is too long.","created_at":"2015-09-23T02:42:27Z","updated_at":"2015-09-23T02:42:27Z","html_url":"https://github.com/clappr/clappr/pull/559#discussion_r40166631","pull_request_url":"https://api.github.com/repos/clappr/clappr/pulls/559","_links":{"self":{"href":"https://api.github.com/repos/clappr/clappr/pulls/comments/40166631"},"html":{"href":"https://github.com/clappr/clappr/pull/559#discussion_r40166631"},"pull_request":{"href":"https://api.github.com/repos/clappr/clappr/pulls/559"}}},"pull_request":{"url":"https://api.github.com/repos/clappr/clappr/pulls/559","id":45739171,"html_url":"https://github.com/clappr/clappr/pull/559","diff_url":"https://github.com/clappr/clappr/pull/559.diff","patch_url":"https://github.com/clappr/clappr/pull/559.patch","issue_url":"https://api.github.com/repos/clappr/clappr/issues/559","number":559,"state":"open","locked":false,"title":"Added a \"NoFlash\" Playback","user":{"login":"LGprodigy","id":7546358,"avatar_url":"https://avatars.githubusercontent.com/u/7546358?v=3","gravatar_id":"","url":"https://api.github.com/users/LGprodigy","html_url":"https://github.com/LGprodigy","followers_url":"https://api.github.com/users/LGprodigy/followers","following_url":"https://api.github.com/users/LGprodigy/following{/other_user}","gists_url":"https://api.github.com/users/LGprodigy/gists{/gist_id}","starred_url":"https://api.github.com/users/LGprodigy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LGprodigy/subscriptions","organizations_url":"https://api.github.com/users/LGprodigy/orgs","repos_url":"https://api.github.com/users/LGprodigy/repos","events_url":"https://api.github.com/users/LGprodigy/events{/privacy}","received_events_url":"https://api.github.com/users/LGprodigy/received_events","type":"User","site_admin":false},"body":"This will detect if the browser requires flash to playback the required\r\nmedia when there is no HTML5/JS support. If flash isn't installed on the\r\nbrowser, then a message pertaining to adobe flash will be displayed\r\ninstead of \"Your browser does not support the playback of this video.\r\nTry to use a different browser.\"!","created_at":"2015-09-23T02:42:14Z","updated_at":"2015-09-23T02:42:29Z","closed_at":null,"merged_at":null,"merge_commit_sha":"4a01e090fe8dbbafb4b997ef03f1e239f25f9c46","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/clappr/clappr/pulls/559/commits","review_comments_url":"https://api.github.com/repos/clappr/clappr/pulls/559/comments","review_comment_url":"https://api.github.com/repos/clappr/clappr/pulls/comments{/number}","comments_url":"https://api.github.com/repos/clappr/clappr/issues/559/comments","statuses_url":"https://api.github.com/repos/clappr/clappr/statuses/64ea27440d309e06c0f568fede26faddb15d26c4","head":{"label":"LGprodigy:master","ref":"master","sha":"64ea27440d309e06c0f568fede26faddb15d26c4","user":{"login":"LGprodigy","id":7546358,"avatar_url":"https://avatars.githubusercontent.com/u/7546358?v=3","gravatar_id":"","url":"https://api.github.com/users/LGprodigy","html_url":"https://github.com/LGprodigy","followers_url":"https://api.github.com/users/LGprodigy/followers","following_url":"https://api.github.com/users/LGprodigy/following{/other_user}","gists_url":"https://api.github.com/users/LGprodigy/gists{/gist_id}","starred_url":"https://api.github.com/users/LGprodigy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LGprodigy/subscriptions","organizations_url":"https://api.github.com/users/LGprodigy/orgs","repos_url":"https://api.github.com/users/LGprodigy/repos","events_url":"https://api.github.com/users/LGprodigy/events{/privacy}","received_events_url":"https://api.github.com/users/LGprodigy/received_events","type":"User","site_admin":false},"repo":{"id":42973519,"name":"clappr","full_name":"LGprodigy/clappr","owner":{"login":"LGprodigy","id":7546358,"avatar_url":"https://avatars.githubusercontent.com/u/7546358?v=3","gravatar_id":"","url":"https://api.github.com/users/LGprodigy","html_url":"https://github.com/LGprodigy","followers_url":"https://api.github.com/users/LGprodigy/followers","following_url":"https://api.github.com/users/LGprodigy/following{/other_user}","gists_url":"https://api.github.com/users/LGprodigy/gists{/gist_id}","starred_url":"https://api.github.com/users/LGprodigy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LGprodigy/subscriptions","organizations_url":"https://api.github.com/users/LGprodigy/orgs","repos_url":"https://api.github.com/users/LGprodigy/repos","events_url":"https://api.github.com/users/LGprodigy/events{/privacy}","received_events_url":"https://api.github.com/users/LGprodigy/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/LGprodigy/clappr","description":"An extensible media player for the web","fork":true,"url":"https://api.github.com/repos/LGprodigy/clappr","forks_url":"https://api.github.com/repos/LGprodigy/clappr/forks","keys_url":"https://api.github.com/repos/LGprodigy/clappr/keys{/key_id}","collaborators_url":"https://api.github.com/repos/LGprodigy/clappr/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/LGprodigy/clappr/teams","hooks_url":"https://api.github.com/repos/LGprodigy/clappr/hooks","issue_events_url":"https://api.github.com/repos/LGprodigy/clappr/issues/events{/number}","events_url":"https://api.github.com/repos/LGprodigy/clappr/events","assignees_url":"https://api.github.com/repos/LGprodigy/clappr/assignees{/user}","branches_url":"https://api.github.com/repos/LGprodigy/clappr/branches{/branch}","tags_url":"https://api.github.com/repos/LGprodigy/clappr/tags","blobs_url":"https://api.github.com/repos/LGprodigy/clappr/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/LGprodigy/clappr/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/LGprodigy/clappr/git/refs{/sha}","trees_url":"https://api.github.com/repos/LGprodigy/clappr/git/trees{/sha}","statuses_url":"https://api.github.com/repos/LGprodigy/clappr/statuses/{sha}","languages_url":"https://api.github.com/repos/LGprodigy/clappr/languages","stargazers_url":"https://api.github.com/repos/LGprodigy/clappr/stargazers","contributors_url":"https://api.github.com/repos/LGprodigy/clappr/contributors","subscribers_url":"https://api.github.com/repos/LGprodigy/clappr/subscribers","subscription_url":"https://api.github.com/repos/LGprodigy/clappr/subscription","commits_url":"https://api.github.com/repos/LGprodigy/clappr/commits{/sha}","git_commits_url":"https://api.github.com/repos/LGprodigy/clappr/git/commits{/sha}","comments_url":"https://api.github.com/repos/LGprodigy/clappr/comments{/number}","issue_comment_url":"https://api.github.com/repos/LGprodigy/clappr/issues/comments{/number}","contents_url":"https://api.github.com/repos/LGprodigy/clappr/contents/{+path}","compare_url":"https://api.github.com/repos/LGprodigy/clappr/compare/{base}...{head}","merges_url":"https://api.github.com/repos/LGprodigy/clappr/merges","archive_url":"https://api.github.com/repos/LGprodigy/clappr/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/LGprodigy/clappr/downloads","issues_url":"https://api.github.com/repos/LGprodigy/clappr/issues{/number}","pulls_url":"https://api.github.com/repos/LGprodigy/clappr/pulls{/number}","milestones_url":"https://api.github.com/repos/LGprodigy/clappr/milestones{/number}","notifications_url":"https://api.github.com/repos/LGprodigy/clappr/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/LGprodigy/clappr/labels{/name}","releases_url":"https://api.github.com/repos/LGprodigy/clappr/releases{/id}","created_at":"2015-09-23T02:27:39Z","updated_at":"2015-09-23T02:27:41Z","pushed_at":"2015-09-23T02:41:10Z","git_url":"git://github.com/LGprodigy/clappr.git","ssh_url":"git@github.com:LGprodigy/clappr.git","clone_url":"https://github.com/LGprodigy/clappr.git","svn_url":"https://github.com/LGprodigy/clappr","homepage":"http://clappr.io","size":99223,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"clappr:master","ref":"master","sha":"0e3f4903bc19775991017e6b905f2e9f8ae07d6c","user":{"login":"clappr","id":10685859,"avatar_url":"https://avatars.githubusercontent.com/u/10685859?v=3","gravatar_id":"","url":"https://api.github.com/users/clappr","html_url":"https://github.com/clappr","followers_url":"https://api.github.com/users/clappr/followers","following_url":"https://api.github.com/users/clappr/following{/other_user}","gists_url":"https://api.github.com/users/clappr/gists{/gist_id}","starred_url":"https://api.github.com/users/clappr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/clappr/subscriptions","organizations_url":"https://api.github.com/users/clappr/orgs","repos_url":"https://api.github.com/users/clappr/repos","events_url":"https://api.github.com/users/clappr/events{/privacy}","received_events_url":"https://api.github.com/users/clappr/received_events","type":"Organization","site_admin":false},"repo":{"id":16844474,"name":"clappr","full_name":"clappr/clappr","owner":{"login":"clappr","id":10685859,"avatar_url":"https://avatars.githubusercontent.com/u/10685859?v=3","gravatar_id":"","url":"https://api.github.com/users/clappr","html_url":"https://github.com/clappr","followers_url":"https://api.github.com/users/clappr/followers","following_url":"https://api.github.com/users/clappr/following{/other_user}","gists_url":"https://api.github.com/users/clappr/gists{/gist_id}","starred_url":"https://api.github.com/users/clappr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/clappr/subscriptions","organizations_url":"https://api.github.com/users/clappr/orgs","repos_url":"https://api.github.com/users/clappr/repos","events_url":"https://api.github.com/users/clappr/events{/privacy}","received_events_url":"https://api.github.com/users/clappr/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/clappr/clappr","description":"An extensible media player for the web","fork":false,"url":"https://api.github.com/repos/clappr/clappr","forks_url":"https://api.github.com/repos/clappr/clappr/forks","keys_url":"https://api.github.com/repos/clappr/clappr/keys{/key_id}","collaborators_url":"https://api.github.com/repos/clappr/clappr/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/clappr/clappr/teams","hooks_url":"https://api.github.com/repos/clappr/clappr/hooks","issue_events_url":"https://api.github.com/repos/clappr/clappr/issues/events{/number}","events_url":"https://api.github.com/repos/clappr/clappr/events","assignees_url":"https://api.github.com/repos/clappr/clappr/assignees{/user}","branches_url":"https://api.github.com/repos/clappr/clappr/branches{/branch}","tags_url":"https://api.github.com/repos/clappr/clappr/tags","blobs_url":"https://api.github.com/repos/clappr/clappr/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/clappr/clappr/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/clappr/clappr/git/refs{/sha}","trees_url":"https://api.github.com/repos/clappr/clappr/git/trees{/sha}","statuses_url":"https://api.github.com/repos/clappr/clappr/statuses/{sha}","languages_url":"https://api.github.com/repos/clappr/clappr/languages","stargazers_url":"https://api.github.com/repos/clappr/clappr/stargazers","contributors_url":"https://api.github.com/repos/clappr/clappr/contributors","subscribers_url":"https://api.github.com/repos/clappr/clappr/subscribers","subscription_url":"https://api.github.com/repos/clappr/clappr/subscription","commits_url":"https://api.github.com/repos/clappr/clappr/commits{/sha}","git_commits_url":"https://api.github.com/repos/clappr/clappr/git/commits{/sha}","comments_url":"https://api.github.com/repos/clappr/clappr/comments{/number}","issue_comment_url":"https://api.github.com/repos/clappr/clappr/issues/comments{/number}","contents_url":"https://api.github.com/repos/clappr/clappr/contents/{+path}","compare_url":"https://api.github.com/repos/clappr/clappr/compare/{base}...{head}","merges_url":"https://api.github.com/repos/clappr/clappr/merges","archive_url":"https://api.github.com/repos/clappr/clappr/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/clappr/clappr/downloads","issues_url":"https://api.github.com/repos/clappr/clappr/issues{/number}","pulls_url":"https://api.github.com/repos/clappr/clappr/pulls{/number}","milestones_url":"https://api.github.com/repos/clappr/clappr/milestones{/number}","notifications_url":"https://api.github.com/repos/clappr/clappr/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/clappr/clappr/labels{/name}","releases_url":"https://api.github.com/repos/clappr/clappr/releases{/id}","created_at":"2014-02-14T17:36:40Z","updated_at":"2015-09-22T20:12:23Z","pushed_at":"2015-09-23T02:42:14Z","git_url":"git://github.com/clappr/clappr.git","ssh_url":"git@github.com:clappr/clappr.git","clone_url":"https://github.com/clappr/clappr.git","svn_url":"https://github.com/clappr/clappr","homepage":"http://clappr.io","size":99223,"stargazers_count":2387,"watchers_count":2387,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":211,"mirror_url":null,"open_issues_count":44,"forks":211,"open_issues":44,"watchers":2387,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/clappr/clappr/pulls/559"},"html":{"href":"https://github.com/clappr/clappr/pull/559"},"issue":{"href":"https://api.github.com/repos/clappr/clappr/issues/559"},"comments":{"href":"https://api.github.com/repos/clappr/clappr/issues/559/comments"},"review_comments":{"href":"https://api.github.com/repos/clappr/clappr/pulls/559/comments"},"review_comment":{"href":"https://api.github.com/repos/clappr/clappr/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/clappr/clappr/pulls/559/commits"},"statuses":{"href":"https://api.github.com/repos/clappr/clappr/statuses/64ea27440d309e06c0f568fede26faddb15d26c4"}}}}