capacitor-video-player icon indicating copy to clipboard operation
capacitor-video-player copied to clipboard

Player not working with specific streaming-response

Open yannickBona opened this issue 1 year ago • 1 comments

Hi,

I'm having problems running this plugin on my IOS device using video urls hosted on our server.

On our server we have an endpoint that requests a presignedUrl from our S3 storage and returns a streaming response of the asset to the user.

if I paste the url to the browser it gets automatically downloaded, whereas another sample video I found online (working with the plugin) simply gets played on the browser.

I tried and both of these videos are working on the browser if I use them inside a <video /> tag, the problem is only with the plugin, since I can't use <video/>tags on the native IOS device.

@jepiqueau What do I need to return from my server endpoint to get the videoPlayer working?

yannickBona avatar Feb 21 '24 22:02 yannickBona