Closed qisforq closed 2 months ago
One option is to use the Mux video API to create a trimmed video via a POST request (eg. https://www.youtube.com/watch?v=KqgpLpDJjjM). This option does duplicate data into the Mux database which has cost implications.
Mux also handles thumbnail/poster generation on-demand which is really cool: https://docs.mux.com/guides/get-images-from-a-video
Basically we'll need to set an image src as something like this: https://image.mux.com/{PLAYBACK_ID}/thumbnail.png?width=400&height=200&fit_mode=smartcrop&time=35
Investigate the API endpoint to generate video clips on Mux
Objective
Research how to implement highlights video player so that it appears as an individual video and not a bookmark for the full game recap video.