Codice embed di You Tube validato html
Sostituire il codice embed restituito da YouTube, tipo:
<object width=”425″ height=”344″><param name=”movie” value=”http://www.youtube.com/v/6AWxFNpw2To&hl=en_GB&fs=1&”></param><param name=”allowFullScreen” value=”true”></param><param name=”allowscriptaccess” value=”always”></param><embed src=”http://www.youtube.com/v/6AWxFNpw2To&hl=en_GB&fs=1&” type=”application/x-shockwave-flash” allowscriptaccess=”always” allowfullscreen=”true” width=”560″ height=”340″></embed></object>
Con questo codice:
<object type=”application/x-shockwave-flash” data=”http://www.youtube.com/v/xxxxxxxxxxx” width=”425″ height=”344″>
<param name=”movie” value=”http://www.youtube.com/v/xxxxxxxxxxx” /></object>
Sostituendo le xxxxxxxxxxx con il codice id del filmato (in questo caso 5oCHxB8d20s), ovvero:
<object type=”application/x-shockwave-flash” data=”http://www.youtube.com/v/5oCHxB8d20s” width=”425″ height=”344″>
<param name=”movie” value=”http://www.youtube.com/v/5oCHxB8d20s” /></object>
Codice valido.
Grazie a Nikos.