Stop youtube video autoplay

55,678

Solution 1

To disable autoplay, just put &autoplay=0 after the video ID so it looks like this:

<object width="425" height="350">
<param name="movie" value="http://www.youtube.com/v/OdT9z-JjtJk&autoplay=0"></param>
<embed src="http://www.youtube.com/v/OdT9z-JjtJk&autoplay=0" type="application/x-shockwave-flash" width="425" height="350"></embed>
</object>

http://support.google.com/youtube/bin/answer.py?hl=en&answer=1181821

Updated code.

Solution 2

It used to work. YouTube only verifies how to autoplay but they dont talk aboth NOT autoplay.

&autoplay=0 does not work.

http://support.google.com/youtube/bin/answer.py?hl=en&answer=171780&rd=1

Solution 3

Jut put the "#t=XmXs" after the URL. NOTICE that you have to change the X to a certain time, such as 2m30s.

Share:
55,678
ManpreetSandhu
Author by

ManpreetSandhu

I am a web designer &amp; developer. I have a lots of experience in open sources customization.

Updated on July 09, 2022

Comments

  • ManpreetSandhu
    ManpreetSandhu almost 2 years

    I am using youtube video in "iframe" with height width src etc. but it is playing auto. I want to play it with onclick. Please help me.