I want to add the following html code to my wordpress editor but the youtube video is not embeded. The url disappear.
How to make the wordpress editor accept the “oembed” html tag ?
You can use the native WordPress
And in general you can just paste the link itself (URL only) inside the WordPress editor and it will automatically generate the embed for you.