Latest wordpress stripping youtube embeds (not iframes) on scheduled posts
-
Hi There,
I’ve seen many threads around the place talking about iframes being stripped out when people use the visual editor, etc. but that’s not the issue I’m having.
My issue is that for years now I’ve used youtube embeds (old embed code). I create a post, add the embed code via the html editor (which changed to ‘text’ since the last version it seems), schedule the post and save it.
If I come back and check it later it’s fine, embed is still there.
But now since the latest update (3.5). As soon as the post goes live the embed code gets stripped and a blank post gets published. Whereas I’ve never once had this happen since the latest version (and have thousands of video posts).
It’s a real pain in the backside as I then have to go try find the video the post related to (titles are often commentary on the video and don’t often give an idea of what the video was called).
Is there a way to disable this? I don’t like to use the oembed method as it adds additional steps to the process (manually writing additional tag content) and when the video fails or is removed it leave’s the raw link in the post body. I’d rather the video with ‘content removed’ as it lets the user know why the video isn’t working (i.e. youtube removed it or the user deleted it, etc.)
Also a note on how to make it work manually:
Once the post has published and failed (stripped code resulting in a blank post). I can then edit the article, add the embed code again and hit update. Then it will post correctly.
- The topic ‘Latest wordpress stripping youtube embeds (not iframes) on scheduled posts’ is closed to new replies.