Forums

iframe disappears (18 posts)

  1. pabloortiz75
    Member
    Posted 11 months ago #

    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

  2. Cosmicray
    Member
    Posted 11 months ago #

    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!!

  3. webvitaly
    Member
    Posted 11 months ago #

    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.

  4. govpatel
    Member
    Posted 11 months ago #

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

  5. Cosmicray
    Member
    Posted 11 months ago #

    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.

  6. Jawa3113
    Member
    Posted 11 months ago #

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

  7. webvitaly
    Member
    Posted 11 months ago #

    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"]

  8. govpatel
    Member
    Posted 11 months ago #

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

  9. Jawa3113
    Member
    Posted 11 months ago #


  10. govpatel
    Member
    Posted 11 months ago #

    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

  11. Jawa3113
    Member
    Posted 11 months ago #

    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?

  12. govpatel
    Member
    Posted 11 months ago #

    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

  13. Jawa3113
    Member
    Posted 11 months ago #

    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

  14. govpatel
    Member
    Posted 11 months ago #

    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.

  15. Jawa3113
    Member
    Posted 11 months ago #

    I don't have any other plugins installed

  16. govpatel
    Member
    Posted 11 months ago #

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

  17. webvitaly
    Member
    Posted 11 months ago #

    Are you still fighting with the Google map? :)
    I wrote the solution for that problem 4 hours ago ;)

  18. mypatrick
    Member
    Posted 10 months ago #

Reply

You must log in to post.

About this Topic