Skip to content

Conversation

@vmanera
Copy link

@vmanera vmanera commented Apr 12, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant