nvm i think i got it. I'll try using the signedUrl for the video and put that into html5 video src.
k
Kosh
08/02/2021, 7:06 AM
Could you please share ur findings? I have asked her few times but never got an answer.
d
debabrata
08/02/2021, 9:52 AM
Ok so here's what I plan to do. Use the supabase js library to get a signedUrl (since my video is in a restricted bucket) of the video I want to stream
debabrata
08/02/2021, 9:53 AM
And then use that url in the src for the html video tag
debabrata
08/02/2021, 9:55 AM
My guess is that the HTML5 video tag sends a request to the source with the content range headers by default. So supabase servers should respond with a status of 206 which will allow that video to be streamed