Twitch oEmbed data always returns clips as having 30s video length, even when edited to be shorter/longer

Trying to write a script for a subreddit that enforces a 30s video policy for link posts. But it’s useless if the API doesn’t give me the proper duration of the video.

Not sure if there is another way to get the metadata of a clip (I haven’t been able to find one), but the oEmbed method should be fixed either way.



This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.