WordPress.org

Support

Support » Plugins and Hacks » Preserved HTML Editor Markup » [Resolved] Doesn't preserve YouTube iframe code

[Resolved] Doesn't preserve YouTube iframe code

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author MarcusPope

    @marcuspope

    Well that code is not designed to be entered in the Visual Editor. You’ll need to use shortcodes for the visual editor tab. Or switch to the HTML tab so that you can use the above snippet.

    I would suggest trying some of these plugins: http://wordpress.org/extend/plugins/search.php?q=youtube+shortcode&sort=

    They should allow your users to embed youtube videos from the visual editor.

    Thanks,
    Marcus.

    Oddly, I found this plugin on a site where the person was asking specifically how to add code that was being stripped out (not just line breaks)… and answers to the poster’s question by you that this plugin would fit the bill. *sigh* (I actually need to input javascript for non-youtube video embeds.)

    Glad I backed up before installing. Not that this isn’t a nifty plugin, I just try to keep plugins to a minimum if possible.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Resolved] Doesn't preserve YouTube iframe code’ is closed to new replies.
Skip to toolbar