nativescript-videoplayer icon indicating copy to clipboard operation
nativescript-videoplayer copied to clipboard

Unable to play remote videos that are streamed from a DB (from urls)

Open woodzza opened this issue 3 years ago • 3 comments

I have a strange issue which I can not resolve; no doubt am missing something simple. I have checked MIMETYPES on the server and just can not see why these urls dont all play. I am streaming the VIDEO out from a DB; and in these cases they will not play using the plugin.

https://tasks.tch.co.za/testthefile.mp4 (DOES NOT WORK) https://tasks.tch.co.za/_imsa/testmp4a.asp (DOES NOT WORK) https://tasks.tch.co.za/_imsa/stream1.mp4 (DOES WORK)

I suspect the issue is server side but if anyone can help point me in the right direction I would greatly appreciate it.

woodzza avatar Jan 25 '22 15:01 woodzza

Did you managed to fixe the error ? Trying to play remote url as well, but doesn't work, getting an infinite loader on the player...

MayoudP avatar Sep 06 '22 09:09 MayoudP

Hi there,

I did manage to come right. What I ended up doing on the server was just saving the MP4 to the server hard drive and linking to that rather than directly streaming from the DB.

Regards, Andrew 0813132204

On 06 Sep 2022, at 11:08, Mayeul @.***> wrote:

Did you managed to fixe the error ? Trying to play remote url as well, but doesn't work, getting an infinite loader on the player...

— Reply to this email directly, view it on GitHub https://github.com/nstudio/nativescript-videoplayer/issues/202#issuecomment-1237874095, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADGKGEUEROAUUZQKLTGFR4DV44CYBANCNFSM5MYSU3PQ. You are receiving this because you authored the thread.

woodzza avatar Sep 06 '22 10:09 woodzza

Hi!

How did you manage to play it? Video wont play on direct mp4 link:

<VideoPlayer
src="http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/BigBuckBunny.mp4"
autoplay="false"
height="300">
</VideoPlayer>

franconeilglovasa avatar Sep 27 '22 07:09 franconeilglovasa