I’m embedding twitch clips in an iframe and i have a list of clips i want to play once the current one ended. Right now i m only able to change to the next clip by clicking a button which changes the iframe src.
Is there a way to check if a clip has ended? In the documentation i dont see any way to have an event called when a Clip has ended and nothing is playing.
The only solution i have seen in github repositorys was to use the video player instead of iframe but from my understand that is not allowed.
I’m using html and javascript with tmi.js to get the clips from chat.