Embed Video In WordPress You Tube Fix When Switching Between Visual and Html Mod

Embed Video In WordPress You Tube Fix When Switching Between Visual and Html Mod

0 Flares Facebook 0 Google+ 0 Twitter 0 Pin It Share 0 LinkedIn 0 0 Flares ×

 Embedding video in WordPress doesn’t have to hard at all.  A lot of people use plugins for this and you don’t have to at all WordPress has an embed feature built in so you don’t even have to deal with extra resources on your blog at all.


Here are a few simple instructions to embed the video

Copy the  URL right from the address bar is the best option like the image below.

Wordpress Embed Video



Now you can use a built in embed code that has been in place since WordPress Version 2.9.


Embed Media Setting WordPress



Head over to “Settings” Then Click on “Media” To enable this feature all you have to do is click on the check mark next to auto embed then choose your width and height that you want the videos to be when you just place the link of the video on your WordPress Blog.

There is also another option and that’s using the built in embed code in WordPress itself and I’ll have a link to the code below.

Embedding Video In WordPress



Download the Embed code txt file here (just right click and save link as)

But as you can see you from the image above you can control the width and size of the video anytime by just using the embed code shown on the image above. I prefer to use this code over just inserting the image because I have more control of the size and width of videos that I pull from different video sharing sites and there are a few that sites that you can just pull media from with this code.

Here the list of white listed media sites that WordPress supports using Embedding Video In WordPress feature

Embedding Video In WordPress is  not so hard now is it?

Enjoy Have fun share the video paste on your own blog I’m sure others will like to see this content.

Would love to hear from all of you leave a comment below


  • Kriten

    Reply Reply January 22, 2013

    ok, I figured out the center thing by surrounding your code with

    but I’d love to know if there is a way to get the no related videos code to work.

    • Mario Soto

      Reply Reply January 23, 2013

      As far as I know you can’t do that with the embed code you would have to use an iframe embed for that and add ?rel=0 right after the video address.

  • Kriten

    Reply Reply January 22, 2013

    Great video Mario. Thank you.
    can you also center it and set it to not include related videos?
    Wordpress keeps stripping out my center code and if I add the ?rel=0 to it, the video disappears and it just shows the html code as text.

  • Cheryl Dobbie

    Reply Reply July 3, 2012

    Hi Mario, thanks so much for this info it's very much appreciated, will make my life so much easier. I also have another issue that I am hoping you can help with, I am trying to remove the title etc. from the top of YT video's that I put on my site, now I have tried this trick "&showinfo=0" which does work initially but once the video is played it all returns, is there a way to have this gone for good.

    Hope you can help


    • Mario Soto

      Reply Reply July 20, 2012

      It only works with chrome-less player now unfortunately. The Main reason they did that is because they updated TOS in you tube which requires a link back to you tube and the logo to show

  • Davies

    Reply Reply October 8, 2011

    Hi Mario, I've thanked you on the HSA forum but I'll thank you again with pleasure 😉

    It may just need a little tweaking here and there but these tweakings do need a bit of Know How in able to do it.

    Anyway I'm happy and extremely lucky to have you on the forum. I'm sure everybody shares my opinion on that 😉


  • Leanne A

    Reply Reply July 26, 2011

    Hey Mario

    Thanks heaps for this Video! This problem has plagued me for months now!

    I was never sure of what to do to fix it and was forever re-copying the embed code back in everytime I edited the post!

    So Thank you soooooo much!

    Keep the Great Videos coming. They are Always truly so informative and useful!


    Leanne 🙂

    • Mario

      Reply Reply July 28, 2011

      Glad to help 🙂

Leave A Response

* Denotes Required Field