Generate YouTube embed codes v2.1

Insert the last part of the YouTube video URL:
(the unique code is enough, but you can also enter the full URL)
Enter the desired width of the video: pixels
Check to include link back to YouTube page.
Use delayed cookies. [?]

Looking up information about video....

Standard definition embed :
Wide screen embed (normal) :
Wide screen embed (higher quality):
Wide screen embed (high def) :


Make life even easier by using the bookmarklet:
Create YouTube Code v2
(just add to the bookmarks menu)

(cc) 2008-2009 Pierre Gorissen. Re-use any way you like.
Note: because of the need to lookup info from YouTube, this script uses a PHP proxy, not just JavaScript code.
Last update 11/20/2009 after YouTube changed the info about HD and Widescreen in the page.