3
<iframe width="763" height="448" src="http://www.youtube.com/embed/videoseries?list=PLD7SqVUGDdDBw_xmMKTDF5MlBwys_KlUk&showinfo=0&rel=0&autoplay=0" frameborder="0" allowfullscreen style="margin-top:5px; margin-left:5px;"></iframe>

When I try it embedding just a video it works, but when I disable auto-play in "embed playlist code", it doesn't work.

In first video it doesn't play automatically but when video ends, it plays the next video—I want it to stop after each video.

Any idea?

0

1 Answer 1

1

The autoplay parameter does exactly what it's supposed to do as per documentation:

This parameter specifies whether the initial video will automatically start to play when the player loads. Supported values are 0 or 1. The default value is 0.

Ending playback after each video cannot be done via just player parameters, you need to use the IFrame API for that, but at this point, we're well into Stackoverflow's youtube-iframe-api territory.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.