I don’t see the clip length in the API response. Is there some way to retrieve the length, or to detect end of playback with the iframe?
Hi @wondible,
If you want to retrieve the length of the clip, you can find it here :
https://clips.twitch.tv/api/v2/clips/:clipID
and you will have the duration before last reference
Example with a real clip : https://clips.twitch.tv/api/v2/clips/AltruisticEsteemedBulgogiKappaPride
1 Like
Example did not work, but I was able to substitute another clip id which is fine.
I take it this is an unofficial API since I did not run across documentation for it?
Yeah, would appreciate as well. Would be also nice to have interactive embedding to be able to set volume, stop/pause and if clip was played until the end
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.