kolkov / angular-editor

A simple native WYSIWYG editor component for Angular 6 -14+
https://angular-editor.kolkov.ru
MIT License
673 stars 357 forks source link

Youtube Video Upload #183

Open codehope-AtCompany opened 4 years ago

codehope-AtCompany commented 4 years ago

when i use insert video option for youtube videos it show its as image and its not playable,also i tried to use youtube's iframe in html code(html mode) but its look like playable in editor but when you save it ,its brackets got deleted and its also not playable,even if you add video to your model it got deleted by editor once you save it, i'll really appreciate if you solve the problem

florianislitzer commented 4 years ago

It works when you switch to html mode and insert the iframe object but you have to set sanitize to false in the EditorConfig. Nevertheless I would appreciate it if the "Insert a video" button would do its work.