{"action":"created","comment":{"url":"https://api.github.com/repos/wistia/wistia-doc/pulls/comments/49222089","id":49222089,"diff_hunk":"@@ -601,3 +602,152 @@ The keyword substitutions `{page_title}` and `{video_name}` can be used in the\n tweet text.\n \n <div style=\"display:none;\" class=\"navigable_end\"></div>\n+\n+## Annotations\n+\n+The Annotations plugin displays mid-playback links or plaintext notes in the top right corner of the video.","path":"_posts/embed-options.md","position":15,"original_position":15,"commit_id":"7c0539c26bbd2dc5bb9571e6bd234c212af983cf","original_commit_id":"7c0539c26bbd2dc5bb9571e6bd234c212af983cf","user":{"login":"emilyscoleman","id":10838398,"avatar_url":"https://avatars.githubusercontent.com/u/10838398?v=3","gravatar_id":"","url":"https://api.github.com/users/emilyscoleman","html_url":"https://github.com/emilyscoleman","followers_url":"https://api.github.com/users/emilyscoleman/followers","following_url":"https://api.github.com/users/emilyscoleman/following{/other_user}","gists_url":"https://api.github.com/users/emilyscoleman/gists{/gist_id}","starred_url":"https://api.github.com/users/emilyscoleman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/emilyscoleman/subscriptions","organizations_url":"https://api.github.com/users/emilyscoleman/orgs","repos_url":"https://api.github.com/users/emilyscoleman/repos","events_url":"https://api.github.com/users/emilyscoleman/events{/privacy}","received_events_url":"https://api.github.com/users/emilyscoleman/received_events","type":"User","site_admin":false},"body":"Should be \"plain text\"","created_at":"2016-01-08T18:45:45Z","updated_at":"2016-01-08T18:45:45Z","html_url":"https://github.com/wistia/wistia-doc/pull/66#discussion_r49222089","pull_request_url":"https://api.github.com/repos/wistia/wistia-doc/pulls/66","_links":{"self":{"href":"https://api.github.com/repos/wistia/wistia-doc/pulls/comments/49222089"},"html":{"href":"https://github.com/wistia/wistia-doc/pull/66#discussion_r49222089"},"pull_request":{"href":"https://api.github.com/repos/wistia/wistia-doc/pulls/66"}}},"pull_request":{"url":"https://api.github.com/repos/wistia/wistia-doc/pulls/66","id":29485954,"html_url":"https://github.com/wistia/wistia-doc/pull/66","diff_url":"https://github.com/wistia/wistia-doc/pull/66.diff","patch_url":"https://github.com/wistia/wistia-doc/pull/66.patch","issue_url":"https://api.github.com/repos/wistia/wistia-doc/issues/66","number":66,"state":"open","locked":false,"title":"Add section for midroll links","user":{"login":"ryanartecona","id":889991,"avatar_url":"https://avatars.githubusercontent.com/u/889991?v=3","gravatar_id":"","url":"https://api.github.com/users/ryanartecona","html_url":"https://github.com/ryanartecona","followers_url":"https://api.github.com/users/ryanartecona/followers","following_url":"https://api.github.com/users/ryanartecona/following{/other_user}","gists_url":"https://api.github.com/users/ryanartecona/gists{/gist_id}","starred_url":"https://api.github.com/users/ryanartecona/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ryanartecona/subscriptions","organizations_url":"https://api.github.com/users/ryanartecona/orgs","repos_url":"https://api.github.com/users/ryanartecona/repos","events_url":"https://api.github.com/users/ryanartecona/events{/privacy}","received_events_url":"https://api.github.com/users/ryanartecona/received_events","type":"User","site_admin":false},"body":"Just like it says in the title. :candy:\r\n\r\nI added a section on using it in a \"manual mode\", which uses the plugin for its API instead of for showing predefined links. I thought it might be useful for our customers who have their own developers and who might scheme up some more advanced custom use case than most other customers (and maybe save our champs from some tough questions later). Suggestions to move, fix up, simplify, or remove that section are welcome.\r\n\r\n#### TODO\r\n  - [x] Remove `manualModeOn` in favor of specifying `links: []` instead, which will accomplish the same thing.\r\n  - [ ] Devise a better name than Midroll Links for this thing. Suggested candidates include\r\n    - Links\r\n    - Annotations (eww, YT)\r\n    - Hyperlinks\r\n    - your own better suggestion\r\n  - [x] Add a friendlier way of getting a handle on the plugin API object than `embed.plugin['midrollLink-v1']` (which also only works by virtue of this plugin being synchronously loading—won't work for others anyway). Options for better syntax are\r\n    - `embed.plugin('links-v1', function(links) {...})`\r\n    - `embed.withPlugin('links-v1', function(links) {...})`","created_at":"2015-02-17T22:56:27Z","updated_at":"2016-01-08T18:45:45Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ffb6ae8aceddc1488833ab2a8c9978293e1e3636","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/wistia/wistia-doc/pulls/66/commits","review_comments_url":"https://api.github.com/repos/wistia/wistia-doc/pulls/66/comments","review_comment_url":"https://api.github.com/repos/wistia/wistia-doc/pulls/comments{/number}","comments_url":"https://api.github.com/repos/wistia/wistia-doc/issues/66/comments","statuses_url":"https://api.github.com/repos/wistia/wistia-doc/statuses/7c0539c26bbd2dc5bb9571e6bd234c212af983cf","head":{"label":"wistia:ra-midroll-links","ref":"ra-midroll-links","sha":"7c0539c26bbd2dc5bb9571e6bd234c212af983cf","user":{"login":"wistia","id":100727,"avatar_url":"https://avatars.githubusercontent.com/u/100727?v=3","gravatar_id":"","url":"https://api.github.com/users/wistia","html_url":"https://github.com/wistia","followers_url":"https://api.github.com/users/wistia/followers","following_url":"https://api.github.com/users/wistia/following{/other_user}","gists_url":"https://api.github.com/users/wistia/gists{/gist_id}","starred_url":"https://api.github.com/users/wistia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wistia/subscriptions","organizations_url":"https://api.github.com/users/wistia/orgs","repos_url":"https://api.github.com/users/wistia/repos","events_url":"https://api.github.com/users/wistia/events{/privacy}","received_events_url":"https://api.github.com/users/wistia/received_events","type":"Organization","site_admin":false},"repo":{"id":4864651,"name":"wistia-doc","full_name":"wistia/wistia-doc","owner":{"login":"wistia","id":100727,"avatar_url":"https://avatars.githubusercontent.com/u/100727?v=3","gravatar_id":"","url":"https://api.github.com/users/wistia","html_url":"https://github.com/wistia","followers_url":"https://api.github.com/users/wistia/followers","following_url":"https://api.github.com/users/wistia/following{/other_user}","gists_url":"https://api.github.com/users/wistia/gists{/gist_id}","starred_url":"https://api.github.com/users/wistia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wistia/subscriptions","organizations_url":"https://api.github.com/users/wistia/orgs","repos_url":"https://api.github.com/users/wistia/repos","events_url":"https://api.github.com/users/wistia/events{/privacy}","received_events_url":"https://api.github.com/users/wistia/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/wistia/wistia-doc","description":"The one, the only, the WISTIA DOCUMENTATION!!!!","fork":false,"url":"https://api.github.com/repos/wistia/wistia-doc","forks_url":"https://api.github.com/repos/wistia/wistia-doc/forks","keys_url":"https://api.github.com/repos/wistia/wistia-doc/keys{/key_id}","collaborators_url":"https://api.github.com/repos/wistia/wistia-doc/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/wistia/wistia-doc/teams","hooks_url":"https://api.github.com/repos/wistia/wistia-doc/hooks","issue_events_url":"https://api.github.com/repos/wistia/wistia-doc/issues/events{/number}","events_url":"https://api.github.com/repos/wistia/wistia-doc/events","assignees_url":"https://api.github.com/repos/wistia/wistia-doc/assignees{/user}","branches_url":"https://api.github.com/repos/wistia/wistia-doc/branches{/branch}","tags_url":"https://api.github.com/repos/wistia/wistia-doc/tags","blobs_url":"https://api.github.com/repos/wistia/wistia-doc/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/wistia/wistia-doc/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/wistia/wistia-doc/git/refs{/sha}","trees_url":"https://api.github.com/repos/wistia/wistia-doc/git/trees{/sha}","statuses_url":"https://api.github.com/repos/wistia/wistia-doc/statuses/{sha}","languages_url":"https://api.github.com/repos/wistia/wistia-doc/languages","stargazers_url":"https://api.github.com/repos/wistia/wistia-doc/stargazers","contributors_url":"https://api.github.com/repos/wistia/wistia-doc/contributors","subscribers_url":"https://api.github.com/repos/wistia/wistia-doc/subscribers","subscription_url":"https://api.github.com/repos/wistia/wistia-doc/subscription","commits_url":"https://api.github.com/repos/wistia/wistia-doc/commits{/sha}","git_commits_url":"https://api.github.com/repos/wistia/wistia-doc/git/commits{/sha}","comments_url":"https://api.github.com/repos/wistia/wistia-doc/comments{/number}","issue_comment_url":"https://api.github.com/repos/wistia/wistia-doc/issues/comments{/number}","contents_url":"https://api.github.com/repos/wistia/wistia-doc/contents/{+path}","compare_url":"https://api.github.com/repos/wistia/wistia-doc/compare/{base}...{head}","merges_url":"https://api.github.com/repos/wistia/wistia-doc/merges","archive_url":"https://api.github.com/repos/wistia/wistia-doc/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/wistia/wistia-doc/downloads","issues_url":"https://api.github.com/repos/wistia/wistia-doc/issues{/number}","pulls_url":"https://api.github.com/repos/wistia/wistia-doc/pulls{/number}","milestones_url":"https://api.github.com/repos/wistia/wistia-doc/milestones{/number}","notifications_url":"https://api.github.com/repos/wistia/wistia-doc/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/wistia/wistia-doc/labels{/name}","releases_url":"https://api.github.com/repos/wistia/wistia-doc/releases{/id}","created_at":"2012-07-02T20:44:30Z","updated_at":"2015-11-16T16:44:22Z","pushed_at":"2016-01-08T18:37:05Z","git_url":"git://github.com/wistia/wistia-doc.git","ssh_url":"git@github.com:wistia/wistia-doc.git","clone_url":"https://github.com/wistia/wistia-doc.git","svn_url":"https://github.com/wistia/wistia-doc","homepage":null,"size":16978,"stargazers_count":10,"watchers_count":10,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":12,"mirror_url":null,"open_issues_count":49,"forks":12,"open_issues":49,"watchers":10,"default_branch":"master"}},"base":{"label":"wistia:master","ref":"master","sha":"10d65e240227b4ba89d7dd622ae7ca20f537c57c","user":{"login":"wistia","id":100727,"avatar_url":"https://avatars.githubusercontent.com/u/100727?v=3","gravatar_id":"","url":"https://api.github.com/users/wistia","html_url":"https://github.com/wistia","followers_url":"https://api.github.com/users/wistia/followers","following_url":"https://api.github.com/users/wistia/following{/other_user}","gists_url":"https://api.github.com/users/wistia/gists{/gist_id}","starred_url":"https://api.github.com/users/wistia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wistia/subscriptions","organizations_url":"https://api.github.com/users/wistia/orgs","repos_url":"https://api.github.com/users/wistia/repos","events_url":"https://api.github.com/users/wistia/events{/privacy}","received_events_url":"https://api.github.com/users/wistia/received_events","type":"Organization","site_admin":false},"repo":{"id":4864651,"name":"wistia-doc","full_name":"wistia/wistia-doc","owner":{"login":"wistia","id":100727,"avatar_url":"https://avatars.githubusercontent.com/u/100727?v=3","gravatar_id":"","url":"https://api.github.com/users/wistia","html_url":"https://github.com/wistia","followers_url":"https://api.github.com/users/wistia/followers","following_url":"https://api.github.com/users/wistia/following{/other_user}","gists_url":"https://api.github.com/users/wistia/gists{/gist_id}","starred_url":"https://api.github.com/users/wistia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wistia/subscriptions","organizations_url":"https://api.github.com/users/wistia/orgs","repos_url":"https://api.github.com/users/wistia/repos","events_url":"https://api.github.com/users/wistia/events{/privacy}","received_events_url":"https://api.github.com/users/wistia/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/wistia/wistia-doc","description":"The one, the only, the WISTIA DOCUMENTATION!!!!","fork":false,"url":"https://api.github.com/repos/wistia/wistia-doc","forks_url":"https://api.github.com/repos/wistia/wistia-doc/forks","keys_url":"https://api.github.com/repos/wistia/wistia-doc/keys{/key_id}","collaborators_url":"https://api.github.com/repos/wistia/wistia-doc/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/wistia/wistia-doc/teams","hooks_url":"https://api.github.com/repos/wistia/wistia-doc/hooks","issue_events_url":"https://api.github.com/repos/wistia/wistia-doc/issues/events{/number}","events_url":"https://api.github.com/repos/wistia/wistia-doc/events","assignees_url":"https://api.github.com/repos/wistia/wistia-doc/assignees{/user}","branches_url":"https://api.github.com/repos/wistia/wistia-doc/branches{/branch}","tags_url":"https://api.github.com/repos/wistia/wistia-doc/tags","blobs_url":"https://api.github.com/repos/wistia/wistia-doc/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/wistia/wistia-doc/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/wistia/wistia-doc/git/refs{/sha}","trees_url":"https://api.github.com/repos/wistia/wistia-doc/git/trees{/sha}","statuses_url":"https://api.github.com/repos/wistia/wistia-doc/statuses/{sha}","languages_url":"https://api.github.com/repos/wistia/wistia-doc/languages","stargazers_url":"https://api.github.com/repos/wistia/wistia-doc/stargazers","contributors_url":"https://api.github.com/repos/wistia/wistia-doc/contributors","subscribers_url":"https://api.github.com/repos/wistia/wistia-doc/subscribers","subscription_url":"https://api.github.com/repos/wistia/wistia-doc/subscription","commits_url":"https://api.github.com/repos/wistia/wistia-doc/commits{/sha}","git_commits_url":"https://api.github.com/repos/wistia/wistia-doc/git/commits{/sha}","comments_url":"https://api.github.com/repos/wistia/wistia-doc/comments{/number}","issue_comment_url":"https://api.github.com/repos/wistia/wistia-doc/issues/comments{/number}","contents_url":"https://api.github.com/repos/wistia/wistia-doc/contents/{+path}","compare_url":"https://api.github.com/repos/wistia/wistia-doc/compare/{base}...{head}","merges_url":"https://api.github.com/repos/wistia/wistia-doc/merges","archive_url":"https://api.github.com/repos/wistia/wistia-doc/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/wistia/wistia-doc/downloads","issues_url":"https://api.github.com/repos/wistia/wistia-doc/issues{/number}","pulls_url":"https://api.github.com/repos/wistia/wistia-doc/pulls{/number}","milestones_url":"https://api.github.com/repos/wistia/wistia-doc/milestones{/number}","notifications_url":"https://api.github.com/repos/wistia/wistia-doc/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/wistia/wistia-doc/labels{/name}","releases_url":"https://api.github.com/repos/wistia/wistia-doc/releases{/id}","created_at":"2012-07-02T20:44:30Z","updated_at":"2015-11-16T16:44:22Z","pushed_at":"2016-01-08T18:37:05Z","git_url":"git://github.com/wistia/wistia-doc.git","ssh_url":"git@github.com:wistia/wistia-doc.git","clone_url":"https://github.com/wistia/wistia-doc.git","svn_url":"https://github.com/wistia/wistia-doc","homepage":null,"size":16978,"stargazers_count":10,"watchers_count":10,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":12,"mirror_url":null,"open_issues_count":49,"forks":12,"open_issues":49,"watchers":10,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/wistia/wistia-doc/pulls/66"},"html":{"href":"https://github.com/wistia/wistia-doc/pull/66"},"issue":{"href":"https://api.github.com/repos/wistia/wistia-doc/issues/66"},"comments":{"href":"https://api.github.com/repos/wistia/wistia-doc/issues/66/comments"},"review_comments":{"href":"https://api.github.com/repos/wistia/wistia-doc/pulls/66/comments"},"review_comment":{"href":"https://api.github.com/repos/wistia/wistia-doc/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/wistia/wistia-doc/pulls/66/commits"},"statuses":{"href":"https://api.github.com/repos/wistia/wistia-doc/statuses/7c0539c26bbd2dc5bb9571e6bd234c212af983cf"}}}}