Friday, July 30, 2010

Test Youtube video autoplay (Angklung music)



This is the original embed code from Youtube for the above video:

<object width="400" height="324"><param name="movie" value="http://www.youtube.com/v/lniVx_pFM_A&hl=en&fs=1"></param><param name="allowFullScreen" value="true"></param><embed src="http://www.youtube.com/v/lniVx_pFM_A&hl=en&fs=1" type="application/x-shockwave-flash" allowfullscreen="true" width="400" height="324"></embed></object>


Below is the edited Youtube video with &autoplay=1 (highlighted in red) appended to the end of the source URL to make the video autoplay:

<object width="400" height="324"><param name="movie" value="http://www.youtube.com/v/lniVx_pFM_A&hl=en&fs=1"></param><param name="allowFullScreen" value="true"></param><embed src="http://www.youtube.com/v/lniVx_pFM_A&hl=en&fs=1&autoplay=1
" type="application/x-shockwave-flash" allowfullscreen="true" width="400" height="324"></embed></object>

No comments: