edrom
Member
Posted 11 months ago #
We run several WordPress blogs. On one of the blogs, upon posting, our user can embed a video using code provided by YouTube and on another of our blogs the code added within the html editor is neatly stripped away when she tries to preview or save. Both blogs have media embedding enabled in the WP settings. Is there a way I can enable the user to embed the video in the blog that is currently stripping the code? Is it possible these two blogs are using different editors?
Thanks in advance.
It sounds like your second user is switching to the Visual Editor after adding the markup. This will automatically remove the markup previously entered. Why not make use of WordPress' core oEmbed instead of copying & pasting markup?
edrom
Member
Posted 11 months ago #
Thanks. I checked with the second user and they tried adding the markup without switching to the Visual Editor. The code was still stripped out. Any other ideas as to what might be happening? We can look into oEmbed, but it looks like a project for us and we need to get this video publishd this week.
but it looks like a project for us
Why? Did you have a look at that page. all you need to do to embed a YT video is to paste the url into the Post or Page. Neither editor will remove that.
edrom
Member
Posted 11 months ago #
We tried embedding a YT by pasting the URL and it worked.
Thanks!