May | 17 | 2007

Embedding Youtube The Easy Way

Posted by Benj as Blog Reviews, Plugins, Software Features, Software and Widgets, Videos

Given the technology that bloggers have at their disposal nowadays, it is now easier to publish material on less-than-conventional media. Videos blogs and podcasts are no longer a rarity but they’re not exactly that mainstream as far as your everyday bloggers go. Fortunately for Wordpress users, a lot of plugin developers have since chipped in making multimedia embedding easier.

Among all the content providers available in the internet, Youtube is clearly tops. Aside from being the repository of third-party videos, the site can also serve as a host for a user’s personal videos. These could in turn be used for a user’s personal blog or website. Though Youtube already gives out a pre-fabricated code for embedding the file, you may only use the code while on the “code editor” and once you revert to the “visual editor” the code will be distorted and unreadable. Not only will the code change, it will also cause the video to not appear.

Try it for yourselves. It’s a fair assumption that most Wordpress bloggers use the visual editor and since it is the “first” view that appears when trying to edit and entry, the code would’ve been altered by the mere act of clicking the edit button. One way to keep this from happening is disabling the visual editor under “Profile”.

If you’re unwilling to sacrifice the visual editor for the well-being of your Youtube codes, you may download Youtube Brackets. This plugin makes embedding Youtube videos easier by limiting the necessary coding to:

[youtube=videourl]

Just like that, your video will be embedded without the hassles of Wordpress altering the code the next time you edit it. If you’re fine with hard coding Youtube videos into your blogs the hard[er] way, be my guest. But if you’re one of those who would rather take the easy route in things like embedding videos, this plugin is exactly the one you need.

Related Articles

Comments (10)

10 Responses

  1. magneticBLUE

    17|May|2007

    Thank you for sharing this information.

    I’d like to suggest for another video embed solution. Actually not only videos… Images and quotes from any web page, directly to any WordPress blog. Best of all, it’s not a plugin, it’s a bookmarklet. You drag & drop it to your bookmark bar and then, when you see a video or image, or some text worth to quote, click the bookmarklet and that’s all. For more information, please visit:

    http://postsome.com/

  2. benj

    17|May|2007

    Thanks for sharing magneticblue! I’m checking it out right now. It looks very promising. :) Please do come back for more updates here at Blog Tutorials. Who knows, we might even feature this in the near future.

    Cheers!

  3. Rory

    18|May|2007

    Does your suggestion here work for Google Video, or any other? And does it mean the HTML validation issue is overcome?

    Having just watched the postsome video, I was a bit concerned about the blatant hot-linking concerns, particularly with regard to the pictures. I’m not sure Copyblogger (for example) would appreciate bloggers linking directly to pictures stored on his server. Same applies to Flickr.

    Otherwise, it looks interesting – especially if it had the facility to save as “draft”.

  4. magneticBLUE

    18|May|2007

    Hello Rory,

    There’s no hotlinking. When you blog an image, PostSome server creates a copy of the image on the fly, and sends PostSome URL to your blog.

    For example…
    If I blog an image from this page, say, (http://www.blog-tutorials.com/wp-content/themes/wp_BT/images/feature4.jpg) it will become like this: (http://PostSome.com/images/12123123.jpg) Test it. You’ll see. There’re no worries for anyone.

    “Otherwise, it looks interesting – especially if it had the facility to save as “draft”.”

    Hmm, interesting… I like this idea very much. Looks like It can be done.

    “Does your suggestion here work for Google Video”

    Yes., works with Google and all other 28 known video sharing websites.

    “And does it mean the HTML validation issue is overcome?”

    Yes and no.

    Yes… Every post you have with PostSome button, transfers directly to your blog, without validation of “Rich Text Editor”. Of course WordPress validates the code, and it has to be, but as long as you host your own blog you can embed videos directly in your posts.

    No… If you have to use Rich Text Editor, when you need to edit your posts, let’s say a draft post, it will be validated by RTE.

    No… If you have a WordPress.com or Wordpress.org blog, you cannot post video embedded blog entries with help of PostSome.com. Other features like posting image or quoting works well.

    Thank you for sharing your thoughts.

  5. Rory

    18|May|2007

    Thank you for clearing up some of those points, mBLUE, I really appreciate it.

    I should have made it a bit clearer: The first part of my question – Does your suggestion here work for Google Video, or any other? And does it mean the HTML validation issue is overcome? – was aimed at benj’s original post.

  6. magneticBLUE

    18|May|2007

    Oops, ok :)

  7. benj

    18|May|2007

    Hi Rory! Thanks for clearing that up. Unfortunately, no it doesn’t. You may use this instead.
    Easytube

    This would enable you to embed both youtube and google videos. :)

    Thank you to the both of you! As you could see, we’re just starting anew with a spanking new lineup of writers. It’s great to have some comments here! Yay!

  8. Alex

    18|May|2007

    I suggest just copying and pasting the embed code. If it so happens that you need to upgrade your engine (say, WordPress), at least you don’t have to worry if the plug-in’s compatible or not. Besides, you’ll just be copying and pasting anyway. :D

  9. benj

    18|May|2007

    Alex, the embed code usually gets altered once you switch views to the visual editor. :) If you’re not using the visual editor then good. But if you’re one of us unfortunate sods who don’t hard code our posts, the plugins could definitely prove to be of great assistance.

    Thank you for dropping by Alex. :)

  10. ia

    18|May|2007

    Here’s a clue as to why the <embed> tag gets altered. It seems to be a bug in the TinyMCE editor that’s *supposed* to be fixed already.

  


Our Features
  • Design and Themes

    Is Your Blog W3C Compliant?

    Last night I checked my personal blog’s code hoping I can proudly display the W3C Validated Button. Since I use Blogger and do not really do anything to clean up the code (beyond adding Alt-tags to the images I embed) I wasn’t surprised at all to find that my blog contained lots of errors – [...]

    Read on
    More Design and Themes Features
  • Software and Widgets

    Wordpress Plug-ins

    If you blog using Wordpress and can’t do something that you want done like adding Sphere-related content at the end of your blog posts you might be surprised to find out that there are already plug-ins available that make it happen.
    To find good Wordpress plug-ins all you need to do is search for “wordpress plug-ins” [...]

    Read on
    More Software and Widgets Features
  • Reviews

    A Friend In Need

    I’m helping out my friends from the UA&P – IShareHappiness Blog Team.
    Whenever you feel pessimistic, angry, troubled, frustrated, and depressed – what have you – you need someone to talk to. Someone who could help you be more optimistic and help make you feel that there is hope. Sometimes it’s hard to talk to someone [...]

    Read on
    More Blog Reviews
  • Monetization

    Review: Logical Media

    Logical Media is one of the innovative services that pay for ad placement within blogs. Do you have a blog and are you seeking a way to make additional money from the blog? Are you seeking a way to offset other programs with the use of ads? Through the registration with Logical Media, the blogger [...]

    Read on
    More Monetization Features
  • Marketing and Search Optimization

    Search Rank Drop and False Alarms

    Happy Holidays!
    What are the chances of someone being concerned about their blog’s search ranking dropping on Christmas Eve? I have no idea but then again if I’m writing about it right now then there’s probably someone somewhere around the world doing SEO at this very minute.
    If you have experienced a sudden drop in ranking, both [...]

    Read on
    More Marketing and SEO Features
  • Blog Resources

SUBSCRIBE

CATEGORIES

Bloggy Awards

Blogger Jobs

CONTRIBUTORS

RESOURCES

BLOG METRICS