• Hello,

    Evrytime I insert a youtube video on my pages it works well for the first time. But if I open the article and edit it in Visual Mode, and save again… the <iframe> part of the code simply disappears and I have to add and save it again in HTML mode.

    What is the reason?

    Thanks

Viewing 15 replies - 1 through 15 (of 17 total)
  • I’m having a similar issue. The iframe vanishes along with the video and is replaced by a huge chunk of html relating to seoquake???? It’s got me puzzled I have to admit. I’ve videoed the process here on Jing http://screencast.com/t/GvaKb01PxPK
    If anybody has an explanation for this behaviour, please let me know it’s driving me bonkers!!

    WordPress removes iframe when you switch from “HTML” to “Visual” tab in your editor because of the security reasons.

    1. You may paste Youtube or Vimeo link into post but sometimes it does not convert into video corectly.
    2. You may use WordPress default shortcode: [embed width="500" height="400"]http://www.youtube.com/watch?v=wQL34ZiCNVA[/embed].
    3. If you simply want to embed iframe into post you can install iframe plugin and paste this shortcode into content: [iframe width="640" height="480" src="http://player.vimeo.com/video/3261363"]

    More info about embeding iframe into post content.

    install this plugin Viper’s Video Quicktags plugin and you will have tags of videos in editor you want embed in posts or pages

    Blimey guys! Thanks for the response, I’m grateful. I’ll give wevitality’s first method a go and see how we get on. I’ll probably try your suggestion govpatel, on a different blog where I tend to experiment.

    Thanks again for your input.

    What if I need to post a google maps iframe? I need to post directions to my business

    You can install iframe plugin and paste into content shortcode similar to this: [iframe width="640" height="480" src="http://maps.google.com/?ie=UTF8&ll=37.0625,-95.677068&spn=40.59616,107.138672&t=h&z=4&output=embed"]

    You do not need to use Iframe for googlemap you can install a plugin try mappress

    I have mappress on few of wordpress websites and work fine you need to create map on the page or post you want google map to show you can check example here

    ok govpatel, I installed and activated mappress. It works fine and lets me create a map, but as soon as I create one, all of the content on that page goes invisible. if I delete the map, it all comes back. whats the deal?

    That is bit odd as I can add any content I want in editor and create map on the page and works fine are you using shortcode in the content for the map

    May be there is some other plugin that conflicting

    Yes, I am using the short code, but it doesn’t matter whether I add the map to the page or not, as long as the map is created everything dissapears

    As I said in my post you may have conflicting plugin so see if you work on finding the conflicting plugin as mappress works fine on few of the sites I am using it on.

    I don’t have any other plugins installed

    when you create a map do you save the map as you need to save the map for it to display on the page.

Viewing 15 replies - 1 through 15 (of 17 total)
  • The topic ‘iframe disappears’ is closed to new replies.