A
A
Alexander Ivanov2018-03-25 20:11:01
YouTube
Alexander Ivanov, 2018-03-25 20:11:01

Why is youtube looping not working?

<iframe frameborder="0" height="100%" width="100%" 
    src="https://youtube.com/embed/jvSqlmh4iu0?autoplay=1&controls=0&look=1&showinfo=0&autohide=1">
  </iframe>

look=1 - this parameter does not work at all, what could be the reason?
____________
It doesn't work that way either
<iframe frameborder="0" height="100%" width="100%" 
    src="https://youtube.com/embed/jvSqlmh4iu0?autoplay=1&controls=0&look=1&showinfo=0&autohide=1&playlist=jvSqlmh4iu0">
  </iframe>

Values: 0 or 1. Default value: 0. If the value is 1, then the single player will play the video in a circle, in an endless loop. The playlist player (or custom player) plays the content of the playlist in a loop.
Note. This setting has limited support in the AS3 player and when embedding an IFrame to load an AS3 or HTML5 player. Currently, the loop parameter only works in the AS3 player when used in conjunction with the playlist parameter. To loop a single video, set the loop parameter to 1 and set the playlist parameter to the same video ID as in the Player API URL:
https://developers.google.com/youtube/player_param...

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Andrey Tsvetkov, 2018-03-25
@cimonlebedev

Probably because loop=1 should be correct

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question