Support » Fixing WordPress » Permanent solution to allow iframe video embeds

  • I need an idiot-proof, permanent solution to prevent video embed iframes from getting stripped out.

    The plugins that are supposed to solve this are useless for syndicated content and many other cases.

    Is there no way to allow iframes from a list of trusted sources; vimeo,,, etc.?

    Not another plugin, but a piece of code you can add to functions.php and can edit/expand as needed?

    Nothing I have tried so far works 100%. I keep losing content that I have to manually restore.

Viewing 1 replies (of 1 total)
  • I have used iframes from varying sources and never had an iframe stipped out of a post or page. Your theme or a plugin is most likely causing this.

    Does it happen with default theme and all plugins deactivated?

    I can answer that as a NO, as I use WP3.8 and default themes in multiple sites, again, no issues with this.

    So test as noted and discover which is causing the issue.

    Additionally, you could disable the Visual Editor. Code is stripped in the Visual Editor, so either disabling the Visual Editor or simply always staying in the HTML Editor (Do not switch to Visual Editor) will allow that your HTML is not stipped.

    Above assumes when you paste the video embed code in your post or page that you are doing so in the HTML Editor. Do not do so in the Visual Editor.

Viewing 1 replies (of 1 total)
  • The topic ‘Permanent solution to allow iframe video embeds’ is closed to new replies.