YouTube Troubles on your WordPress Blogsite?

Have you tried to embed a YouTube video on a page or post of your blogsite only to have the code vanish when you edited the page/post? You sat there scratching your head as “this never used to happen!” Well there is good reason why this is suddenly happening (or why it will happen to you in the future). You see YouTube recently changed the embed code they offer from basic html code to “iframe” code.

Iframe code gets stripped out of WordPress’ page and post editor whenever you return to the post/page to edit it. This is why it keeps disappearing on you.

To fix this issue and prevent it from happening in the future, choose “User old embed code” within the options that YouTube offers. Below are step by step instructions.

  1. Find the YouTube video you want to embed on your site.
  2. Click “Embed” located underneath the video.
  3. Check all the options that apply and check “Use old embed code”.
  4. Copy the code.
  5. Head back to the post/page you are editing and input “zzz” where you want the video to appear (this is just a temporary placeholder to make it easy for you to find the spot where you want the video in the next step)
  6. Click the “HTML” tab on the top right of the editor.
  7. Locate the “zzz” placeholder you created in step 5.
  8. Paste the YouTube code where the “zzz” is.
  9. Save/Publish your post/page!

Did you enjoy this tip? More tips just like this one are available in my book: “Does This Blogsite Make My Wallet Look Fat?” Grab your copy!

Click an icon below to share and recommend this post:
  • Twitter
  • Facebook
  • LinkedIn
  • Reddit
  • Digg
  • StumbleUpon
  • Google Bookmarks
  • RSS

Comments

  1. Hey Sandra

    Absolutely a great tip. I spent 10 minutes going crazy wondering where the heck did the video code go. Lol now I can laugh- too funny. thanks for the tip it truly helped a lot.
    keep up the god work.

    Gregory Burrus