Open vmanera opened 2 years ago
Passing in the same video id as a playlist parameter allows the video to loop. To do this we need multiple replacements of the %id%.
%id%
This PR simply changes this to a global string match so all instances of the %id% template is replaced.
eg. https://www.youtube.com/embed/q3uXXh1sHcI?autoplay=1&loop=1&playlist=q3uXXh1sHcI
Passing in the same video id as a playlist parameter allows the video to loop. To do this we need multiple replacements of the
%id%
.This PR simply changes this to a global string match so all instances of the
%id%
template is replaced.eg. https://www.youtube.com/embed/q3uXXh1sHcI?autoplay=1&loop=1&playlist=q3uXXh1sHcI