{"action":"created","issue":{"url":"https://api.github.com/repos/empirical-org/Quill-Grammar/issues/14","labels_url":"https://api.github.com/repos/empirical-org/Quill-Grammar/issues/14/labels{/name}","comments_url":"https://api.github.com/repos/empirical-org/Quill-Grammar/issues/14/comments","events_url":"https://api.github.com/repos/empirical-org/Quill-Grammar/issues/14/events","html_url":"https://github.com/empirical-org/Quill-Grammar/issues/14","id":58823724,"number":14,"title":"Review of Brainpop integration","user":{"login":"wlaurance","id":1059214,"avatar_url":"https://avatars.githubusercontent.com/u/1059214?v=3","gravatar_id":"","url":"https://api.github.com/users/wlaurance","html_url":"https://github.com/wlaurance","followers_url":"https://api.github.com/users/wlaurance/followers","following_url":"https://api.github.com/users/wlaurance/following{/other_user}","gists_url":"https://api.github.com/users/wlaurance/gists{/gist_id}","starred_url":"https://api.github.com/users/wlaurance/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wlaurance/subscriptions","organizations_url":"https://api.github.com/users/wlaurance/orgs","repos_url":"https://api.github.com/users/wlaurance/repos","events_url":"https://api.github.com/users/wlaurance/events{/privacy}","received_events_url":"https://api.github.com/users/wlaurance/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-02-24T23:28:07Z","updated_at":"2015-02-24T23:29:24Z","closed_at":null,"body":"```\r\nSetting up your game for SnapThought is very simple so I'll describe all the steps here. Hopefully this all sounds workable for you, but let me know if anything stands out as problemmatic.\r\n\r\n1. Include these scripts in your html:\r\n<script src=\"https://cdn.brainpop.com/games/assets/js/html2canvas.js\"></script>\r\n<script src=\"https://cdn.brainpop.com/games/assets/js/cameraProxyDOMCrossDomain.js\"></script>\r\n\r\n2. Wrap whatever you want a snapshot of in a div with the id \"BrainPOPsnapArea\"\r\n <div id=\"BrainPOPsnapArea\">\r\n    [Game here]\r\n </div>\r\n \r\n3. If you have any images on your page from other domains you might need to include a php proxy image loader in the same directory as your page \r\nhtml2canvasproxy.php (attached)\r\n\r\nThen we just cross our fingers and hope it works. If there are problems, they'll mostly be CSS issues (unsupported by html2canvas) or crossdomain issues.\r\n\r\n```"},"comment":{"url":"https://api.github.com/repos/empirical-org/Quill-Grammar/issues/comments/75871804","html_url":"https://github.com/empirical-org/Quill-Grammar/issues/14#issuecomment-75871804","issue_url":"https://api.github.com/repos/empirical-org/Quill-Grammar/issues/14","id":75871804,"user":{"login":"wlaurance","id":1059214,"avatar_url":"https://avatars.githubusercontent.com/u/1059214?v=3","gravatar_id":"","url":"https://api.github.com/users/wlaurance","html_url":"https://github.com/wlaurance","followers_url":"https://api.github.com/users/wlaurance/followers","following_url":"https://api.github.com/users/wlaurance/following{/other_user}","gists_url":"https://api.github.com/users/wlaurance/gists{/gist_id}","starred_url":"https://api.github.com/users/wlaurance/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wlaurance/subscriptions","organizations_url":"https://api.github.com/users/wlaurance/orgs","repos_url":"https://api.github.com/users/wlaurance/repos","events_url":"https://api.github.com/users/wlaurance/events{/privacy}","received_events_url":"https://api.github.com/users/wlaurance/received_events","type":"User","site_admin":false},"created_at":"2015-02-24T23:29:24Z","updated_at":"2015-02-24T23:29:24Z","body":"We will not have any images from other domains, so we shouldn't need step 3."}}