Cannot stop auto play on youtube embedded videos in slider

There is a lot of information about this, and fixing setting autoplay or autostart to false seems simple.

Only it does not work for me at all, tried what each combination can come up with.

I embed the video in the layer slide slider in wordpress, and playing the video stops the slide from moving on to the next.

Any help would be appreciated.

Below are some examples of the different ways in which I tried to get it to work. This is the same problem on chrome as on safari, and mobile

<iframe width="560" height="315" src="https://www.youtube.com/embed/PhCLPGg2WOM?autoplay=0" frameborder="0" allowfullscreen="></iframe>

<iframe width="560" height="315" src="https://www.youtube.com/embed/PhCLPGg2WOM?autoplay=false" type="audio/mpeg" frameborder="0" allowfullscreen></iframe>

<iframe width="560" height="315" src="https://www.youtube.com/embed/tUJJv0EZSuI" frameborder="0" allowfullscreen autoplay="0" autostart="0" type="audio/mpeg"></iframe>
+4
source share
5 answers
0

Layer Slider . " " > "" "" " ".

0

, . - " ".

0

Remove autoplay = 0 and try it in your embed url, at the end there is autoplay = 0 or other numbers delete it and try

0
source

Source: https://habr.com/ru/post/1674348/


All Articles