Hi everyone,

I tried to embed a video from YOUTUBE to my website with autostart. The suggested code is

<object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/52_wba_dzKs&hl=en&fs=1&rel=0"></param><param name="allowFullScreen" value="true"></param><embed src="http://www.youtube.com/v/52_wba_dzKs&hl=en&fs=1&rel=0" type="application/x-shockwave-flash" allowfullscreen="true" width="425" height="344"></embed></object>

I modified it

<object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/52_wba_dzKs&hl=en&fs=1&rel=0"></param>
<param name="allowFullScreen" value="falce"></param>
<param name="allowAutoPlay" value="true"></param>
<embed src="http://www.youtube.com/v/52_wba_dzKs&hl=en&fs=1&rel=0" type="application/x-shockwave-flash" allowfullscreen="falce" allowAutoPlay=”true” width="425" height="344"></embed></object>

But it is not working. Again have to click over the button to start video.
Any advice? I’m using IE 7.0 browser.

By the way I tried to create parameter AutoStart with the same negative success.

Alex

Thanks! It is working perfect!

Sorry it is stupid but I was forgot for that option. I was thinking to do it only by parameters. The possibility to manipulate autoplay by the code in src line completely go off my brain! Thank you very much!

Alex

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.