Clip url format to play in Android

Using the examples found here, the Clips API returns 2 possible urls for for video clips:

"embed_url": "https://clips.twitch.tv/embed?clip=twitch/AdventurousOkapi4Head",
"url": "https://clips.twitch.tv/twitch/AdventurousOkapi4Head?tt_medium=clips_api&tt_content=url",

However, neither of these are a direct link and not really usable without a web browser. Navigating to the embed_url and copying the video address does provide a usable url, such as https://clips-media-assets.twitch.tv/vod-107049351-offset-26-1280x720.mp4, albeit a little construed when played on a mobile device.

Why does the Clips API not return a readily usable link to the video file?

Generally the only supported method of embedding Twitch streams, vods, clips, etc. is using the provided player. Direct access to the media is not provided as part of the API. Direct access would not allow for stat tracking and other features of the player.

I see, that’s unfortunate, but thanks for the info.

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