Industry guru Dave Taylor offers tech support on technical and business topics, including iPhone, iPod, Microsoft Windows, Sony PSP, cellphones, online advertising, CSS, Web design, business, Unix, Linux, SEO, Mac OS X, and shell script programming.     


How can I embed a YouTube video on my site?

I'm a huge fan of YouTube and find funny videos there all the time. I email links to my friends, sure, but sometimes I want to actually embed the videos themselves on my blog. Is there some way to do that? Used to be it was pretty easy to figure out...


Dave's Answer:

YouTube has indeed gone through some major tweaks to its interface in the recent past that have made some things easier while others have become more subtle and require you to pay close attention to figure out. Perhaps it's their way of channeling us visitors into specific behaviors without getting us upset that other functionality has just vanished?

In any case, yes, you can still embed a YouTube video on your blog, Web page, or what have you. You just need to be a bit geeky to get there...

Before I go further, you do realize that to "embed" a video you actually need to be able to insert a sequence of raw HTML code onto your page, right? Some Web page builders don't have that option and any attempt to include "<" and ">" results in them being converted so that your visitor sees the code, rather than having it interpreted by their Web browser.

Let me take you through the steps and you'll know pretty quickly if your tools support this sort of video embedding or not!

First off, here's a typical video, as shown on YouTube:

upload video youtube 9

Zoom in a bit on the row of buttons under the preview image and you'll see that there's one labelled "Embed":

embed youtube video blog 1

Click on it and suddenly the HTML code sequence you need to embed this particular video on your page appears:

embed youtube video blog 2

Hold on, though, because if you scroll down a bit, you'll see that there are some options you can tweak to make the embedded video look and work exactly as you want:

embed youtube video blog 3

Again, zooming in, the most interesting is that you can specify a desired size:

embed youtube video blog 4

Here's my odd little "mystery escalator" video embedded here on my blog with the 640x390 size, first, the code I'm using:

<iframe title="YouTube video player" width="640" height="390"
src="http://www.youtube.com/embed/HUmHlgHVzG0?rel=0&hd=1"
frameborder="0" allowfullscreen></iframe>

and the video itself:

Yeah, no impending Academy Award for that short, but still, you can see it works!

Btw, if you watch a video on YouTube and there's no "embed" button, it might well be the case you find your way there by looking for the "share" button on the image that appears when the video's finished playing:

youtube share embed 1

Still no "embed", but click on "Share" and...

youtube share embed 2

From this point you can click on "Embed" and take it away!


More Useful Twitter, LinkedIn and Social Network Help Articles:
✔   How do I search for a job on LinkedIn?
This may be a bit obvious, but I'm looking for work and am unclear how I can use LinkedIn to find positions other...
✔   Add a header graphic to my Twitter profile?
I heard from a colleague that Twitter's added profile pictures a la Facebook's timeline photo on the top. Nice, but how do I...
✔   Export LinkedIn Profile as a PDF Resume?
I've spent the last year or two updating and adding to my LinkedIn profile and it has a ton of information about me....
✔   How do I block an iPad app from accessing Twitter?
My son installed an app on my iPad and now it's posting updates on my Twitter account when he plays. What the deuce?...
✔   Repost a Facebook photo on Instagram?
I post a lot of photos on Facebook and sometimes want to share them with my Instagram followers. You can automatically mirror an...

Let's stay in touch!
Sign up for my weekly AskDaveTaylor Newsletter and you'll receive even more tech and gadget help right to your inbox, along with exclusive news and industry updates. It's good stuff. I promise!
    Enter your name: and your email addr:  





Categorized: Computer and Internet Basics , Twitter, LinkedIn and Social Network Help   (Article 9887, Written by )
Tagged: embedded video, youtube embed, youtube upload, youtube video
Previous: Verbal Contracts and Timely Payments
Next: Can I track a plane flight on the Web?




Reader Comments To Date: 2

Ken B said, on April 18, 2011 11:10 AM:

I understand that people can also disable the ability to embed a video that they post to YouTube. In which case, obviously, you can't embed it, and can only provide a link.

Shyam Sundar said, on August 19, 2011 9:36 PM:

I like it. thanks

Starbucks coffee cup I do have a lot to say, and questions of my own for that matter, but first I'd like to say thank you, Dave, for all your helpful information by buying you a cup of coffee!

I do have a comment, now that you mention it!











I will never send you any unsolicited email. Ever.






Check This Out Too...

 
Look for Answers
Need Help? Ask Dave Taylor!


Follow Me on Pinterest

Find Me on Google+
ADT on G+
© 2002 - 2013 by Dave Taylor. All Rights Reserved.

Note: This web site is for the purpose of disseminating information for educational purposes, free of charge, for the benefit of all visitors. We take great care to provide quality information. However, we do not guarantee, and accept no legal liability whatsoever arising from or connected to, the accuracy, reliability, currency or completeness of any material contained on this web site or on any linked site. Further, please note that by submitting a question or comment you're agreeing to my terms of service, which are: you relinquish any subsequent rights of ownership to your material by submitting it on this site. My lawyer says "Thanks".
"Ask Dave Taylor®" is a registered trademark of Intuitive Systems, LLC.