nativescript-videoplayer
nativescript-videoplayer copied to clipboard
Unable to play remote videos that are streamed from a DB (from urls)
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.
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...
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.
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>