{"action":"opened","issue":{"url":"https://api.github.com/repos/torchbox/wagtail/issues/2695","repository_url":"https://api.github.com/repos/torchbox/wagtail","labels_url":"https://api.github.com/repos/torchbox/wagtail/issues/2695/labels{/name}","comments_url":"https://api.github.com/repos/torchbox/wagtail/issues/2695/comments","events_url":"https://api.github.com/repos/torchbox/wagtail/issues/2695/events","html_url":"https://github.com/torchbox/wagtail/issues/2695","id":159278466,"number":2695,"title":"Incorrect embed tags on videos","user":{"login":"mwharrison","id":3905516,"avatar_url":"https://avatars.githubusercontent.com/u/3905516?v=3","gravatar_id":"","url":"https://api.github.com/users/mwharrison","html_url":"https://github.com/mwharrison","followers_url":"https://api.github.com/users/mwharrison/followers","following_url":"https://api.github.com/users/mwharrison/following{/other_user}","gists_url":"https://api.github.com/users/mwharrison/gists{/gist_id}","starred_url":"https://api.github.com/users/mwharrison/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mwharrison/subscriptions","organizations_url":"https://api.github.com/users/mwharrison/orgs","repos_url":"https://api.github.com/users/mwharrison/repos","events_url":"https://api.github.com/users/mwharrison/events{/privacy}","received_events_url":"https://api.github.com/users/mwharrison/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-06-08T21:35:05Z","updated_at":"2016-06-08T21:35:05Z","closed_at":null,"body":"Hello,\r\nI'm working with a Wagtail 1.5 site and we have a rich text field.\r\nWhen we embed a video using the included functionality, the HTML comes out looking like:\r\n\r\n`<embed embedtype=\\\"media\\\" url=\\\"https://www.youtube.com/watch?v=1TQ0gZJbWP8\\\"/>`\r\n\r\nThis is not a valid embed tag, it should look like:\r\n\r\n`<embed type=\\\"media\\\" src=\\\"https://www.youtube.com/watch?v=1TQ0gZJbWP8\\\"/>`\r\n\r\nNotice, embedtype->type and url->src.\r\n\r\nThis is based on this spec: http://www.w3schools.com/tags/tag_embed.asp"}}
{"actor":{"display_login":"mwharrison"}}