Codice embed di You Tube validato html

Appunti — Tag:, , — admin @ 15:51

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.

This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License.
(c) 2010 Appunti di storie di web | powered by WordPress with Barecity