Yeaaa!!! Dapat ilmu baru. ilmu apa? ilmu hitam!!! Hahaha... gurau je.. aku dapat ilmu cmner nk autostart/autoplay video youtube atau myspace.. Okey, sabar2.. aku nk gtaw la ni.. 1st, aku gtaw mcm mna nk autostart video myspace.. aku copy dr org je ni, korg pandai2 la wat smpai jadi.. hahaha..
Autostarting Myspace Videos
Related Tutorials: YouTube Video from a Jeroen Flash Player
here is an example of the code myspace gives you for a video:
<embed flashvars="m=716272588&type=video" height="346" src="http://lads.myspace.com/videos/vplayer.swf" type="application/x-shockwave-flash" width="430"></embed>
look at the FLASHVARS parameter. If it has cp=1 at the end, change it to a=1
if it ends in =video, then change this
m=716272588&type=video
to this
m=716272588&type=video&a=1
example:
<embed flashvars="m=716272588&type=video&a=1" height="346" src="http://lads.myspace.com/videos/vplayer.swf" type="application/x-shockwave-flash" width="430"></embed>
Autostarting Youtube Videos
simply add &autoplay=1 at the end of the URL(s)
example:
<object height="350" width="425"><param name="movie" value="http://www.youtube.com/v/Zd9FpK2cGR0&autoplay=1">
</param>
<param name="wmode" value="transparent">
</param>
<embed src="http://www.youtube.com/v/Zd9FpK2cGR0&autoplay=1" type="application/x-shockwave-flash" wmode="transparent" width="425" height="350"></embed></object>