Extra caution is recommended when installing recently uploaded/updated scripts (read more)
Be sure you trust any scripts you install

Youtube HTML Valid

<b>Replace the wrong HTML code provided by Youtube to embed a video in you blog/site with a standard valid HTML code recognized by the W3C Validator.</b>

UPDATE4: I have created a new version (0.5) with copy to clipboard capabilities, when you click in the embed code input box, code are automatically moved in your clipboard. Since it needs an external SWF file hosted on my web space, I prefere to upload another script with this little modification. You can find the new version here. From this page you could install the old one with have no clipboard copy capabilities (and it doesn't require external script to works :-) ).
NOTE: if you would like to install the modified version with clipboard support, please remove the old version of Youtube HTML valid userscript. UPDATE3: changin the ID and NAME of the input box the code is not selected when you click in the input box, fixed in 0.4.
UPDATE2: in the new version of Youtube, it is excuted a javascript code that update the wrong code re inserting it in input box, to fix (version 0.3) I have changed the ID and NAME of the input box. If somebody have suggestions about an elegant way to do this they are greatly appreciated.
UPDATED: Modified the include domain to works with localized Youtube sites.

Replace the wrong HTML code provided by Youtube to embed a video in you blog/site with a standard valid HTML code recognized by the W3C Validator. I have converted a bookmarklet created by Andrea Micheloni in a Greasemonkey user script:
Andrea Micheloni original bookmarklet

Normal Youtube HTML code

Normal Youtube HTML generated code

Code provided by Youtube HTML Valid userscript

Code provided by the Youtube HTML Valid userscript



May 31, 2007
gialloporpora Script's author

I am not an expert, but:

- What is the page of video where it doen't works ?
- What are the user script that you have installed ?

 
May 30, 2007
war59312 User

Not working here, still showing the old embed code.

You could comment on this script if you were logged in.