{"action":"created","comment":{"url":"https://api.github.com/repos/edx-solutions/xblock-google-drive/pulls/comments/25031039","id":25031039,"diff_hunk":"@@ -40,57 +49,95 @@ class GoogleDocumentBlock(XBlock):\n \n     embed_code = String(\n         display_name=\"Embed Code\",\n-        help=\"Google provides an embed code for Drive documents with a variety of settings. From inside a Google Drive document, select Publish to the Web from within the File menuto get to your Embed Code with your desired settings.\",\n+        help=(\n+            \"Google provides an embed code for Drive documents. In the Google Drive document, \"\n+            \"from the File menu, select Publish to the Web. Modify settings as needed, click \"\n+            \"Publish, and copy the embed code into this field.\"\n+        ),\n         scope=Scope.settings,\n-        default=textwrap.dedent(\"\"\"\n-            <iframe\n-                src=\"https://docs.google.com/presentation/d/1B22AsMwG7jgE39vm1BuiJClir_JUz1q077cPEKJR2mI/embed?start=false&loop=false&delayms=3000\"\n-                frameborder=\"0\"\n-                width=\"960\"\n-                height=\"569\"\n-                allowfullscreen=\"true\"\n-                mozallowfullscreen=\"true\"\n-                webkitallowfullscreen=\"true\">\n-            </iframe>\n-        \"\"\"))\n+        default=DEFAULT_EMBED_CODE\n+    )\n \n-    def student_view(self, context={}):\n+    alt_text = String(\n+        display_name=\"Alternative Text\",\n+        help=(\n+            \"In situations where image is not available to the reader, the alternative \"","path":"google_drive/google_docs.py","position":87,"original_position":87,"commit_id":"1d652d7b9875d31d0222a165d8181faa277776f9","original_commit_id":"9d764715a58adf3108b9508392d2be4b1bdc1aa7","user":{"login":"srpearce","id":3493253,"avatar_url":"https://avatars.githubusercontent.com/u/3493253?v=3","gravatar_id":"","url":"https://api.github.com/users/srpearce","html_url":"https://github.com/srpearce","followers_url":"https://api.github.com/users/srpearce/followers","following_url":"https://api.github.com/users/srpearce/following{/other_user}","gists_url":"https://api.github.com/users/srpearce/gists{/gist_id}","starred_url":"https://api.github.com/users/srpearce/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/srpearce/subscriptions","organizations_url":"https://api.github.com/users/srpearce/orgs","repos_url":"https://api.github.com/users/srpearce/repos","events_url":"https://api.github.com/users/srpearce/events{/privacy}","received_events_url":"https://api.github.com/users/srpearce/received_events","type":"User","site_admin":false},"body":"Alternative text describes an image and appears if the image is unavailable. Screen readers for the visually impaired also use alternative text.\r\n\r\n(Or we could just go with the first sentence - the second might be overkill.)","created_at":"2015-02-19T22:07:28Z","updated_at":"2015-02-19T22:07:28Z","html_url":"https://github.com/edx-solutions/xblock-google-drive/pull/18#discussion_r25031039","pull_request_url":"https://api.github.com/repos/edx-solutions/xblock-google-drive/pulls/18","_links":{"self":{"href":"https://api.github.com/repos/edx-solutions/xblock-google-drive/pulls/comments/25031039"},"html":{"href":"https://github.com/edx-solutions/xblock-google-drive/pull/18#discussion_r25031039"},"pull_request":{"href":"https://api.github.com/repos/edx-solutions/xblock-google-drive/pulls/18"}}},"pull_request":{"url":"https://api.github.com/repos/edx-solutions/xblock-google-drive/pulls/18","id":28812293,"html_url":"https://github.com/edx-solutions/xblock-google-drive/pull/18","diff_url":"https://github.com/edx-solutions/xblock-google-drive/pull/18.diff","patch_url":"https://github.com/edx-solutions/xblock-google-drive/pull/18.patch","issue_url":"https://api.github.com/repos/edx-solutions/xblock-google-drive/issues/18","number":18,"state":"open","locked":false,"title":"Review PR for Ned and Xavier","user":{"login":"martynjames","id":675165,"avatar_url":"https://avatars.githubusercontent.com/u/675165?v=3","gravatar_id":"","url":"https://api.github.com/users/martynjames","html_url":"https://github.com/martynjames","followers_url":"https://api.github.com/users/martynjames/followers","following_url":"https://api.github.com/users/martynjames/following{/other_user}","gists_url":"https://api.github.com/users/martynjames/gists{/gist_id}","starred_url":"https://api.github.com/users/martynjames/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/martynjames/subscriptions","organizations_url":"https://api.github.com/users/martynjames/orgs","repos_url":"https://api.github.com/users/martynjames/repos","events_url":"https://api.github.com/users/martynjames/events{/privacy}","received_events_url":"https://api.github.com/users/martynjames/received_events","type":"User","site_admin":false},"body":"Complete review PR for xblock-google-drive","created_at":"2015-02-06T14:32:56Z","updated_at":"2015-02-19T22:07:28Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/edx-solutions/xblock-google-drive/pulls/18/commits","review_comments_url":"https://api.github.com/repos/edx-solutions/xblock-google-drive/pulls/18/comments","review_comment_url":"https://api.github.com/repos/edx-solutions/xblock-google-drive/pulls/comments/{number}","comments_url":"https://api.github.com/repos/edx-solutions/xblock-google-drive/issues/18/comments","statuses_url":"https://api.github.com/repos/edx-solutions/xblock-google-drive/statuses/1d652d7b9875d31d0222a165d8181faa277776f9","head":{"label":"master","ref":"master","sha":"1d652d7b9875d31d0222a165d8181faa277776f9","user":{"login":"edx-solutions","id":6585054,"avatar_url":"https://avatars.githubusercontent.com/u/6585054?v=3","gravatar_id":"","url":"https://api.github.com/users/edx-solutions","html_url":"https://github.com/edx-solutions","followers_url":"https://api.github.com/users/edx-solutions/followers","following_url":"https://api.github.com/users/edx-solutions/following{/other_user}","gists_url":"https://api.github.com/users/edx-solutions/gists{/gist_id}","starred_url":"https://api.github.com/users/edx-solutions/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edx-solutions/subscriptions","organizations_url":"https://api.github.com/users/edx-solutions/orgs","repos_url":"https://api.github.com/users/edx-solutions/repos","events_url":"https://api.github.com/users/edx-solutions/events{/privacy}","received_events_url":"https://api.github.com/users/edx-solutions/received_events","type":"Organization","site_admin":false},"repo":{"id":26437605,"name":"xblock-google-drive","full_name":"edx-solutions/xblock-google-drive","owner":{"login":"edx-solutions","id":6585054,"avatar_url":"https://avatars.githubusercontent.com/u/6585054?v=3","gravatar_id":"","url":"https://api.github.com/users/edx-solutions","html_url":"https://github.com/edx-solutions","followers_url":"https://api.github.com/users/edx-solutions/followers","following_url":"https://api.github.com/users/edx-solutions/following{/other_user}","gists_url":"https://api.github.com/users/edx-solutions/gists{/gist_id}","starred_url":"https://api.github.com/users/edx-solutions/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edx-solutions/subscriptions","organizations_url":"https://api.github.com/users/edx-solutions/orgs","repos_url":"https://api.github.com/users/edx-solutions/repos","events_url":"https://api.github.com/users/edx-solutions/events{/privacy}","received_events_url":"https://api.github.com/users/edx-solutions/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/edx-solutions/xblock-google-drive","description":"","fork":false,"url":"https://api.github.com/repos/edx-solutions/xblock-google-drive","forks_url":"https://api.github.com/repos/edx-solutions/xblock-google-drive/forks","keys_url":"https://api.github.com/repos/edx-solutions/xblock-google-drive/keys{/key_id}","collaborators_url":"https://api.github.com/repos/edx-solutions/xblock-google-drive/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/edx-solutions/xblock-google-drive/teams","hooks_url":"https://api.github.com/repos/edx-solutions/xblock-google-drive/hooks","issue_events_url":"https://api.github.com/repos/edx-solutions/xblock-google-drive/issues/events{/number}","events_url":"https://api.github.com/repos/edx-solutions/xblock-google-drive/events","assignees_url":"https://api.github.com/repos/edx-solutions/xblock-google-drive/assignees{/user}","branches_url":"https://api.github.com/repos/edx-solutions/xblock-google-drive/branches{/branch}","tags_url":"https://api.github.com/repos/edx-solutions/xblock-google-drive/tags","blobs_url":"https://api.github.com/repos/edx-solutions/xblock-google-drive/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/edx-solutions/xblock-google-drive/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/edx-solutions/xblock-google-drive/git/refs{/sha}","trees_url":"https://api.github.com/repos/edx-solutions/xblock-google-drive/git/trees{/sha}","statuses_url":"https://api.github.com/repos/edx-solutions/xblock-google-drive/statuses/{sha}","languages_url":"https://api.github.com/repos/edx-solutions/xblock-google-drive/languages","stargazers_url":"https://api.github.com/repos/edx-solutions/xblock-google-drive/stargazers","contributors_url":"https://api.github.com/repos/edx-solutions/xblock-google-drive/contributors","subscribers_url":"https://api.github.com/repos/edx-solutions/xblock-google-drive/subscribers","subscription_url":"https://api.github.com/repos/edx-solutions/xblock-google-drive/subscription","commits_url":"https://api.github.com/repos/edx-solutions/xblock-google-drive/commits{/sha}","git_commits_url":"https://api.github.com/repos/edx-solutions/xblock-google-drive/git/commits{/sha}","comments_url":"https://api.github.com/repos/edx-solutions/xblock-google-drive/comments{/number}","issue_comment_url":"https://api.github.com/repos/edx-solutions/xblock-google-drive/issues/comments/{number}","contents_url":"https://api.github.com/repos/edx-solutions/xblock-google-drive/contents/{+path}","compare_url":"https://api.github.com/repos/edx-solutions/xblock-google-drive/compare/{base}...{head}","merges_url":"https://api.github.com/repos/edx-solutions/xblock-google-drive/merges","archive_url":"https://api.github.com/repos/edx-solutions/xblock-google-drive/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/edx-solutions/xblock-google-drive/downloads","issues_url":"https://api.github.com/repos/edx-solutions/xblock-google-drive/issues{/number}","pulls_url":"https://api.github.com/repos/edx-solutions/xblock-google-drive/pulls{/number}","milestones_url":"https://api.github.com/repos/edx-solutions/xblock-google-drive/milestones{/number}","notifications_url":"https://api.github.com/repos/edx-solutions/xblock-google-drive/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/edx-solutions/xblock-google-drive/labels{/name}","releases_url":"https://api.github.com/repos/edx-solutions/xblock-google-drive/releases{/id}","created_at":"2014-11-10T13:34:07Z","updated_at":"2015-02-19T13:59:56Z","pushed_at":"2015-02-19T13:59:56Z","git_url":"git://github.com/edx-solutions/xblock-google-drive.git","ssh_url":"git@github.com:edx-solutions/xblock-google-drive.git","clone_url":"https://github.com/edx-solutions/xblock-google-drive.git","svn_url":"https://github.com/edx-solutions/xblock-google-drive","homepage":null,"size":891,"stargazers_count":2,"watchers_count":2,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":1,"forks":2,"open_issues":1,"watchers":2,"default_branch":"master"}},"base":{"label":"null","ref":"null","sha":"8487bd7fa690e9ecb82c7464c9d6a0f3e824df85","user":{"login":"edx-solutions","id":6585054,"avatar_url":"https://avatars.githubusercontent.com/u/6585054?v=3","gravatar_id":"","url":"https://api.github.com/users/edx-solutions","html_url":"https://github.com/edx-solutions","followers_url":"https://api.github.com/users/edx-solutions/followers","following_url":"https://api.github.com/users/edx-solutions/following{/other_user}","gists_url":"https://api.github.com/users/edx-solutions/gists{/gist_id}","starred_url":"https://api.github.com/users/edx-solutions/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edx-solutions/subscriptions","organizations_url":"https://api.github.com/users/edx-solutions/orgs","repos_url":"https://api.github.com/users/edx-solutions/repos","events_url":"https://api.github.com/users/edx-solutions/events{/privacy}","received_events_url":"https://api.github.com/users/edx-solutions/received_events","type":"Organization","site_admin":false},"repo":{"id":26437605,"name":"xblock-google-drive","full_name":"edx-solutions/xblock-google-drive","owner":{"login":"edx-solutions","id":6585054,"avatar_url":"https://avatars.githubusercontent.com/u/6585054?v=3","gravatar_id":"","url":"https://api.github.com/users/edx-solutions","html_url":"https://github.com/edx-solutions","followers_url":"https://api.github.com/users/edx-solutions/followers","following_url":"https://api.github.com/users/edx-solutions/following{/other_user}","gists_url":"https://api.github.com/users/edx-solutions/gists{/gist_id}","starred_url":"https://api.github.com/users/edx-solutions/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edx-solutions/subscriptions","organizations_url":"https://api.github.com/users/edx-solutions/orgs","repos_url":"https://api.github.com/users/edx-solutions/repos","events_url":"https://api.github.com/users/edx-solutions/events{/privacy}","received_events_url":"https://api.github.com/users/edx-solutions/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/edx-solutions/xblock-google-drive","description":"","fork":false,"url":"https://api.github.com/repos/edx-solutions/xblock-google-drive","forks_url":"https://api.github.com/repos/edx-solutions/xblock-google-drive/forks","keys_url":"https://api.github.com/repos/edx-solutions/xblock-google-drive/keys{/key_id}","collaborators_url":"https://api.github.com/repos/edx-solutions/xblock-google-drive/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/edx-solutions/xblock-google-drive/teams","hooks_url":"https://api.github.com/repos/edx-solutions/xblock-google-drive/hooks","issue_events_url":"https://api.github.com/repos/edx-solutions/xblock-google-drive/issues/events{/number}","events_url":"https://api.github.com/repos/edx-solutions/xblock-google-drive/events","assignees_url":"https://api.github.com/repos/edx-solutions/xblock-google-drive/assignees{/user}","branches_url":"https://api.github.com/repos/edx-solutions/xblock-google-drive/branches{/branch}","tags_url":"https://api.github.com/repos/edx-solutions/xblock-google-drive/tags","blobs_url":"https://api.github.com/repos/edx-solutions/xblock-google-drive/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/edx-solutions/xblock-google-drive/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/edx-solutions/xblock-google-drive/git/refs{/sha}","trees_url":"https://api.github.com/repos/edx-solutions/xblock-google-drive/git/trees{/sha}","statuses_url":"https://api.github.com/repos/edx-solutions/xblock-google-drive/statuses/{sha}","languages_url":"https://api.github.com/repos/edx-solutions/xblock-google-drive/languages","stargazers_url":"https://api.github.com/repos/edx-solutions/xblock-google-drive/stargazers","contributors_url":"https://api.github.com/repos/edx-solutions/xblock-google-drive/contributors","subscribers_url":"https://api.github.com/repos/edx-solutions/xblock-google-drive/subscribers","subscription_url":"https://api.github.com/repos/edx-solutions/xblock-google-drive/subscription","commits_url":"https://api.github.com/repos/edx-solutions/xblock-google-drive/commits{/sha}","git_commits_url":"https://api.github.com/repos/edx-solutions/xblock-google-drive/git/commits{/sha}","comments_url":"https://api.github.com/repos/edx-solutions/xblock-google-drive/comments{/number}","issue_comment_url":"https://api.github.com/repos/edx-solutions/xblock-google-drive/issues/comments/{number}","contents_url":"https://api.github.com/repos/edx-solutions/xblock-google-drive/contents/{+path}","compare_url":"https://api.github.com/repos/edx-solutions/xblock-google-drive/compare/{base}...{head}","merges_url":"https://api.github.com/repos/edx-solutions/xblock-google-drive/merges","archive_url":"https://api.github.com/repos/edx-solutions/xblock-google-drive/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/edx-solutions/xblock-google-drive/downloads","issues_url":"https://api.github.com/repos/edx-solutions/xblock-google-drive/issues{/number}","pulls_url":"https://api.github.com/repos/edx-solutions/xblock-google-drive/pulls{/number}","milestones_url":"https://api.github.com/repos/edx-solutions/xblock-google-drive/milestones{/number}","notifications_url":"https://api.github.com/repos/edx-solutions/xblock-google-drive/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/edx-solutions/xblock-google-drive/labels{/name}","releases_url":"https://api.github.com/repos/edx-solutions/xblock-google-drive/releases{/id}","created_at":"2014-11-10T13:34:07Z","updated_at":"2015-02-19T13:59:56Z","pushed_at":"2015-02-19T13:59:56Z","git_url":"git://github.com/edx-solutions/xblock-google-drive.git","ssh_url":"git@github.com:edx-solutions/xblock-google-drive.git","clone_url":"https://github.com/edx-solutions/xblock-google-drive.git","svn_url":"https://github.com/edx-solutions/xblock-google-drive","homepage":null,"size":891,"stargazers_count":2,"watchers_count":2,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":1,"forks":2,"open_issues":1,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/edx-solutions/xblock-google-drive/pulls/18"},"html":{"href":"https://github.com/edx-solutions/xblock-google-drive/pull/18"},"issue":{"href":"https://api.github.com/repos/edx-solutions/xblock-google-drive/issues/18"},"comments":{"href":"https://api.github.com/repos/edx-solutions/xblock-google-drive/issues/18/comments"},"review_comments":{"href":"https://api.github.com/repos/edx-solutions/xblock-google-drive/pulls/18/comments"},"review_comment":{"href":"https://api.github.com/repos/edx-solutions/xblock-google-drive/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/edx-solutions/xblock-google-drive/pulls/18/commits"},"statuses":{"href":"https://api.github.com/repos/edx-solutions/xblock-google-drive/statuses/1d652d7b9875d31d0222a165d8181faa277776f9"}}}}