Deprecated: Assigning the return value of new by reference is deprecated in /home/dwbritt/subdomains/blog.clevermonkey.net/wp-settings.php on line 512

Deprecated: Assigning the return value of new by reference is deprecated in /home/dwbritt/subdomains/blog.clevermonkey.net/wp-settings.php on line 527

Deprecated: Assigning the return value of new by reference is deprecated in /home/dwbritt/subdomains/blog.clevermonkey.net/wp-settings.php on line 534

Deprecated: Assigning the return value of new by reference is deprecated in /home/dwbritt/subdomains/blog.clevermonkey.net/wp-settings.php on line 570

Deprecated: Assigning the return value of new by reference is deprecated in /home/dwbritt/subdomains/blog.clevermonkey.net/wp-includes/cache.php on line 103

Deprecated: Assigning the return value of new by reference is deprecated in /home/dwbritt/subdomains/blog.clevermonkey.net/wp-includes/query.php on line 61

Deprecated: Assigning the return value of new by reference is deprecated in /home/dwbritt/subdomains/blog.clevermonkey.net/wp-includes/theme.php on line 1109
clevermonkey blog » How to Embed a YouTube Video

John was asking how to embed a YouTube video into a blog post. One easy way is to highlight and copy the code on the YouTube video page that is found in the little ‘embed’ box to the right of the video. Then, in the Wordpress editor, go to the code tab and paste the code.

This will paste something like this into the editor window:

code1.jpg

Of course, it won’t look all pretty like that because I spaced it out for clarity in case anyone wanted to ‘detective out’ what the code is doing ;) . That’s not where we’re going now, though.

Anyway, after the code is pasted in, add whatever comments or text you want above or below the object tags, and voila, embedded video.

*Caveat* - the ‘visual’ editor (the other tab) in the Wordpress editor is buggy and merely visiting that tab will wreck your video code. This is problematic, because it’s the default tab. In other words, if you create a post, embed a video - all on the ‘code’ tab - then later, if you notice that you misspelled ‘missspelled’, you can’t edit it without breaking the video link and you’ll have to do it over. As soon as you come into the editor, you would be *not* on the code tab which would change the video code when you save it. Yadda yadda. There’s a way to turn off the visual editor which is the key to my success, but not convenient if you aren’t a digit-head.

For the most part though, don’t let that scare you. Just start writing a blog post, go to the code tab, paste the code, save and enjoy life.

Enjoy this video from John, too:

6 Responses to “How to Embed a YouTube Video”
  1. John says:

    Boy I screwed that one up. Never mind. But Dave or Pete please inform me as to how one posts a youtube with the picture icon appearing in the the title frame. I tried through youtube to add this blogsite but it c0ck-bl0cked me. Dave please write how to do this stuff for the rest of us trying to blog successfully.
    A simple little page of rules and shortcuts would help immensely. And how does one highlight words to footnote facts or laws in dispute? I’m still new to this and need tips. Wordpress is (like most programs) unhelpful unless you know your way around it. Please add shortcuts and tips to posting! I’m a retard ok?!

    BTW: http://www.youtube.com/watch?v=QEY6_jcrzI8

  2. John says:

    Thanks Dave! What about the word highlighter thing though? Frank told me once but I forgot.

  3. Dave says:

    Hey John, not sure what you mean. The only words that get highlighted are those that link to something, I think. In the ‘visual’ editor, you click and drag some words to highlight then hit the button that looks like chain-links and fill in the information.

  4. John says:

    The link thing is what I’m talking about. If I’m reading a blog and the type is in black but the word or phrase is in blue (highlighted) and I click on that and it brings me to a link that either describes the word or backs it up with factual law or newspaper accounts, that’s what I mean. I know it’s probably simple and I should have figured it out myself but … what’s the shortcut? Shouldn’t I fear the visual editor as you described above?

  5. Pete says:

    To do that John, when you are writing in the text part, highlight the words you want to use, then go to the “link” button at the top of that box and click it. This will bring up another box to post your info in.

  6. Dave says:

    Hi John,

    Explained linking in another post, but no, don’t fear the visual editor unless you’re embedding a video. In that case, do all your typing and linking then switch to the ‘code’ tab and paste the embed code for your video.

    Alternatively, do the google for ‘html href’ to see how a link is coded in html, and put that in the code tab.

Leave a Reply

You must be logged in to post a comment. Login »

clevermonkey.net ©2007 All rights reserved. We especially reserve the right to fling poo.
Please email all inquiries.This site is best viewed after drinking.