{"action":"closed","issue":{"url":"https://api.github.com/repos/tinymce/tinymce/issues/1697","labels_url":"https://api.github.com/repos/tinymce/tinymce/issues/1697/labels{/name}","comments_url":"https://api.github.com/repos/tinymce/tinymce/issues/1697/comments","events_url":"https://api.github.com/repos/tinymce/tinymce/issues/1697/events","html_url":"https://github.com/tinymce/tinymce/issues/1697","id":113929940,"number":1697,"title":"media plugin: unexpected switch from https to http for youtube video","user":{"login":"TinyMCE-User","id":14879844,"avatar_url":"https://avatars.githubusercontent.com/u/14879844?v=3","gravatar_id":"","url":"https://api.github.com/users/TinyMCE-User","html_url":"https://github.com/TinyMCE-User","followers_url":"https://api.github.com/users/TinyMCE-User/followers","following_url":"https://api.github.com/users/TinyMCE-User/following{/other_user}","gists_url":"https://api.github.com/users/TinyMCE-User/gists{/gist_id}","starred_url":"https://api.github.com/users/TinyMCE-User/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TinyMCE-User/subscriptions","organizations_url":"https://api.github.com/users/TinyMCE-User/orgs","repos_url":"https://api.github.com/users/TinyMCE-User/repos","events_url":"https://api.github.com/users/TinyMCE-User/events{/privacy}","received_events_url":"https://api.github.com/users/TinyMCE-User/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/tinymce/tinymce/labels/bug","name":"bug","color":"ededed"},{"url":"https://api.github.com/repos/tinymce/tinymce/labels/closed","name":"closed","color":"5319e7"},{"url":"https://api.github.com/repos/tinymce/tinymce/labels/imported","name":"imported","color":"ededed"},{"url":"https://api.github.com/repos/tinymce/tinymce/labels/works%20for%20me","name":"works for me","color":"ededed"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2014-05-26T12:44:03Z","updated_at":"2015-10-28T21:44:25Z","closed_at":"2015-10-28T21:44:25Z","body":"Description of problem:\r\nunexpected switch from https to http for youtube video\r\n\r\nSteps to reproduce on https portal:\r\n1) go to youtube and grab raw URL from bar (for example, https://www.youtube.com/watch?v=izYiDDt6d8s)\r\n2) press insert video button on tinymce plugin\r\n3) click insert ... before box disappears i see that it quickly changed it back to http.\r\n4) view html code of text widget to confirm that it was switched back to http\r\nI have to edit it a second time to make the \"s\" stick\r\nBecause of this behavior IE shows security warning for pasted video.\r\n\r\nExpected result:\r\nurl should be changed to\r\nhttps://www.youtube.com/embed/izYiDDt6d8s\r\n\r\nActual result:\r\nhttp://www.youtube.com/embed/izYiDDt6d8s\n> _**Legacy information imported from TinyMCE bug tracker:**_\n>\n> _[#T6952](http://archive.tinymce.com/develop/bugtracker_view.php?id=6952) posted by [Valentina](http://archive.tinymce.com/profile.php?name=Valentina)_\n\n> _**Tags:** []_\n> _**Status:** Closed_\n> _**Resolution:** Works For Me_\n> _**Attached URL:** none_\n"}}