Hey there, I was curious if I could upload a video to Stream and then dynamically play a clip from it using start/end times.
Lo and behold I saw the Stream Clipping API, but I'm confused. I expected to pass start/end time in the POST and get back a URL or details to embed in a player ("given a start time and end time" which is exactly what I need). But it seems like it generates a clip? Not sure.
I'm confused specifically because the
response fields seem like they should be in the
request object (
startTimeSeconds
and
endTimeSeconds
) 😅
Is there an example of this?
https://developers.cloudflare.com/api/operations/stream-video-clipping-clip-videos-given-a-start-and-end-time