• On MovieTome: TRANSFORMERS 2 SPOILERS!
November 20, 2008 3:54 PM PST

How to: Tweak YouTube embeds for HD playback

Posted by Josh Lowensohn
  • Font size
  • Print

Several readers have e-mailed me and asked for instructions on how to take their HD YouTube videos and embed them elsewhere. As I mentioned before, this isn't an officially sanctioned feature, and as such, the embed code you get on these video pages will still yield the lower-quality, non-widescreen clip.

Needless to say, this is completely unacceptable.

The good news is that you only need to make a few changes to the stock embed code get the job done. Here's what to do:

Step 1: Copy this code and paste it to wherever you intend to embed the video:

Step 2: Grab the direct link to your video. In case you've never done this before, it can be found to the right of the video player on YouTube or from your browser's address bar.

Step 3: Tweak the embed code. The finishing touch involves making a simple change to embed's URL source code to direct it to the HD version. To do this, you simply need to copy the alphanumeric gobbledygook at the end of the link you grabbed in step 2 and paste it into the part between /v/ and the & symbol in the embed code. For simplicity's sake I've labeled this "YOURVIDEOCODEHERE" in the embed code.

That's it--you're done, and all you had to do was use copy and paste twice! The end result is this:


Josh Lowensohn is an associate editor for Webware.com, CNET's blog about cool and otherwise useful Web applications and services. If you've found a site you'd like profiled, shoot him an e-mail. E-mail Josh.
Recent posts from Webware
Box.net to beef up business tools with new hires
Daily Tidbits: Nine Inch Nails is the coolest band around
INQ claims to be the world's first real social mobile company
Shapeways gives 3D designers a place to sell
JibJab jacks up $7.5 million
Chumby grows up, dates Samsung
Ford trucks getting LogMeIn remote PC access
Delete 10 Facebook friends, get a free Whopper
Add a Comment (Log in or register) 6 comments
by lxlelpatronlxl November 22, 2008 9:22 AM PST
It works perfectly thanks for the trick!!!
Reply to this comment
by redondo5000 November 24, 2008 8:56 AM PST
Sorry, this video no longer available - is the error message I get when I embed and try to play. Darn - I'll keep trying.
Reply to this comment
by g_gak_h December 5, 2008 9:02 AM PST
I get the same message. I've tried tweaking the settings on our corporate firewall (SonicWall 3060) and cannot for the life of me figure out why I keep getting the "video no longer available message." When I view the same video outside of our corporate firewall, i.e. on my home computer via LogMeIn, the video plays fine with no messages or problems. Can someone tell me how I need to tweak my SonicWall? SonicWall support has been no help, so I'm looking for someone who has personally fixed this issue.
by predicaments November 28, 2008 6:08 AM PST
This is fantastic. But how do I stop my embedded clip from showing related videos?
Reply to this comment
by bikefilms December 2, 2008 10:07 AM PST
Wow. What a hassle it is to create an account, CNET. No wonder there are only 3 comments.

So, what's with all the hubbub about HD Video? If you look closely in the embed code, the YouTube video dimensions are only 630 x 380. Since when is 630 x 380 HD Video? HD Video typically has dimensions of 1280 x 720, and 1920 x 1080. In fact, the YouTube HD Video has less pixels than even Standard Definiton Video at 640 x 480.

The video looks nice, but it's still not even Standard Def.

Best,
Andrew
Reply to this comment
by eheathmt December 16, 2008 12:32 PM PST
Andrew,

I agree, making this stupid cnet account sucked.


now, the "HD"

I have found you must upload a 1280x720 video for the "view in HD" link to appear when you view a video. Sure, embedded its only 360p, but, you can biggy size it and it looks ok. Also, compare a video that has an HD option with the normal quality option, significant difference. Big step for youtube, i still like vimeo better.
Reply to this comment
advertisement

About Webware

Say No to boxed software! The future of applications is online delivery and access. Software is passé. Webware is the new way to get things done.

Add this feed to your online news reader

Webware topics

In the news now

Apple: DRM-free tunes, unibody MacBook Pro

roundup At Macworld, Phil Schiller touts 10 million songs sans DRM, plus 69-cent songs, a unibody 17-inch notebook, iLife updates, and more.


Countdown to CES

special coverage The tech community descends on Las Vegas as the Consumer Electronics Show gets ready to kick off in all its gadgety glory.


advertisement

Inside CNET News

Scroll Left Scroll Right
-->