Hi, I’m using the clips discovery feature as described here: https://dev.twitch.tv/docs/v5/guides/clips-discovery/
The default for the second example (fetching the top clips) is set to 10 clips, and when embedded they all start playing automatically at the same time.
I’ve added this to the example code:
clipItem.innerHTML = clip.embed_html.split("><") + " autoplay='false'><" + clip.embed_html.split("><");
So the generated iframe has autoplay set to false but the clip still plays automatically, not sure why.
Also, here is a fiddle that demonstrates this issue:
Notice how it autoplays, disregarding the autoplay option in the iframe parameters. Same happens when you set muted=‘true’.
Could someone let me know how to stop the autoplay?
Thanks a lot