Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>There's a <a href="http://www.tools4noobs.com/online_tools/youtube_xhtml/" rel="nofollow noreferrer">Tools4Noobs web page</a> that will automatically do the conversion for you from the embed code that YouTube gives you to valid XHTML. You can choose what extra buttons appear and tweak how the border looks. It also adds a small advertising link, but that's easy to remove.</p> <p>Here's an example generated by YouTube:</p> <pre><code>&lt;object width="425" height="349"&gt; &lt;param name="movie" value="http://www.youtube.com/v/AWCHdhyEdCc&amp;hl=en&amp;fs=1&amp;rel=0&amp;color1=0x5d1719&amp;color2=0xcd311b&amp;border=1"&gt;&lt;/param&gt; &lt;param name="allowFullScreen" value="true"&gt;&lt;/param&gt; &lt;param name="allowscriptaccess" value="always"&gt;&lt;/param&gt; &lt;embed src="http://www.youtube.com/v/AWCHdhyEdCc&amp;hl=en&amp;fs=1&amp;rel=0&amp;color1=0x5d1719&amp;color2=0xcd311b&amp;border=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="349"&gt;&lt;/embed&gt; &lt;/object&gt; </code></pre> <p>Here it is converted by Tools4Noobs:</p> <pre><code>&lt;object type="application/x-shockwave-flash" style="width:425px; height:349px;" data="http://www.youtube.com/v/AWCHdhyEdCc?rel=0&amp;amp;fs=1"&gt; &lt;param name="movie" value="http://www.youtube.com/v/AWCHdhyEdCc?rel=0&amp;amp;fs=1" /&gt; &lt;param name="allowFullScreen" value="true" /&gt; &lt;/object&gt; &lt;div style="font-size: 0.8em"&gt;&lt;a href="http://www.tools4noobs.com/online_tools/youtube_xhtml/"&gt;Get your own valid XHTML YouTube embed code&lt;/a&gt;&lt;/div&gt; </code></pre> <p>Just remove the <code>&lt;div&gt;</code> at the end to get rid of the advertising link, and you're done.</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload