I have a weird issue on a clients site. It is a Multisite install 3.5.1, she stated that everytime she tried to edit and page code, all the Youtube embed codes disappeared. I figured she had to be doing something wrong as I have gone in and fixed this 3 times already. We did a screen share and I recorded it, sure enough it did. But its only when she does it, I can edit it fine. She is an admin. I have never seen anything like this before. The video link to the issue is below. Any ideas?
Could it have somethign to do with the visual vs text editor?
That was my first guess too, but she didnt switch from visual to text, it was text when she logged in.
Are you sure she is an admin? What version of WP is that (looks like an older one) What plugins are you using?
If all else fails you could try a plugin: https://wordpress.org/plugins/youtube-embed-plus/ This one allows you to just paste the URL to the video, or a shortcode