{"action":"created","issue":{"url":"https://api.github.com/repos/localwiki/localwiki/issues/762","labels_url":"https://api.github.com/repos/localwiki/localwiki/issues/762/labels{/name}","comments_url":"https://api.github.com/repos/localwiki/localwiki/issues/762/comments","events_url":"https://api.github.com/repos/localwiki/localwiki/issues/762/events","html_url":"https://github.com/localwiki/localwiki/issues/762","id":96262544,"number":762,"title":"Pasted YouTube embed code gets \"Invalid embed code\" message","user":{"login":"brittag","id":391313,"avatar_url":"https://avatars.githubusercontent.com/u/391313?v=3","gravatar_id":"","url":"https://api.github.com/users/brittag","html_url":"https://github.com/brittag","followers_url":"https://api.github.com/users/brittag/followers","following_url":"https://api.github.com/users/brittag/following{/other_user}","gists_url":"https://api.github.com/users/brittag/gists{/gist_id}","starred_url":"https://api.github.com/users/brittag/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brittag/subscriptions","organizations_url":"https://api.github.com/users/brittag/orgs","repos_url":"https://api.github.com/users/brittag/repos","events_url":"https://api.github.com/users/brittag/events{/privacy}","received_events_url":"https://api.github.com/users/brittag/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-07-21T08:50:54Z","updated_at":"2015-07-22T07:34:47Z","closed_at":null,"body":"I'd like to embed a video in an article, so I tried using the \"embed media\" feature and pasted in the code that YouTube provided:\r\n\r\n    <iframe width=\"300\" height=\"169\" src=\"https://www.youtube-nocookie.com/embed/8Re0fu_t18M?rel=0\" frameborder=\"0\" allowfullscreen></iframe>\r\n\r\nWhen I saved it, the page showed \"Invalid embed code\". I imagine that maybe YouTube has updated its embed codes to be something that LocalWiki doesn't recognize, or maybe something else is going wrong? Maybe interesting!\r\n\r\n[Here's one of the revisions with the \"Invalid embed code\" message.](https://localwiki.org/islavista/St._Michael%27s_University_Church/_history/33) I tried embedding the video a second time just in case something was weird the first time, and I got the same result."},"comment":{"url":"https://api.github.com/repos/localwiki/localwiki/issues/comments/123591500","html_url":"https://github.com/localwiki/localwiki/issues/762#issuecomment-123591500","issue_url":"https://api.github.com/repos/localwiki/localwiki/issues/762","id":123591500,"user":{"login":"brittag","id":391313,"avatar_url":"https://avatars.githubusercontent.com/u/391313?v=3","gravatar_id":"","url":"https://api.github.com/users/brittag","html_url":"https://github.com/brittag","followers_url":"https://api.github.com/users/brittag/followers","following_url":"https://api.github.com/users/brittag/following{/other_user}","gists_url":"https://api.github.com/users/brittag/gists{/gist_id}","starred_url":"https://api.github.com/users/brittag/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brittag/subscriptions","organizations_url":"https://api.github.com/users/brittag/orgs","repos_url":"https://api.github.com/users/brittag/repos","events_url":"https://api.github.com/users/brittag/events{/privacy}","received_events_url":"https://api.github.com/users/brittag/received_events","type":"User","site_admin":false},"created_at":"2015-07-22T07:34:47Z","updated_at":"2015-07-22T07:34:47Z","body":"Interesting! I'm using Chrome 43.0.2357.134 on OS X 10.9.5."}}