Ambidex
Ambidex

Reputation: 857

Iframe embedded video does not loop anymore

We've got an application running which uses //youtube.com/embed/, &playlist=VIDEO_ID,VIDEO_ID and &loop=1, this worked perfectly until recently (no code changes in this application for a long time). Somehow Youtube ends the playback at the end of the playlist and shows related video's. I'd expect that setting &rel=0 might have some influence, though this actually resulted in the video just stopping.

Is there any API change that I need to apply to get this working again? I can't find anything... Fun fact is that when using the AS3 version //youtube.com/v/ with the same values, everything works just fine as it used to!

Upvotes: 1

Views: 836

Answers (1)

Ibrahim Ulukaya
Ibrahim Ulukaya

Reputation: 12877

Yes, this value is only supported on AS3 player as stated in here: https://developers.google.com/youtube/player_parameters#loop

As YouTube is defaulting to HTML5, that's why it's breaking for you now. http://youtube-eng.blogspot.com/2015/01/youtube-now-defaults-to-html5_27.html

Upvotes: 2

Related Questions