Closed LikeDreamwalker closed 3 months ago
you're right to use the next-video/player
or next-video/background-player
https://github.com/muxinc/next-video#player-only-demo
it's possible the player doesn't recognize the video type because the URL doesn't end in .mp4
.
could you try adding &ext=.mp4
to the end of the URL?
you're right to use the
next-video/player
ornext-video/background-player
https://github.com/muxinc/next-video#player-only-demoit's possible the player doesn't recognize the video type because the URL doesn't end in
.mp4
. could you try adding&ext=.mp4
to the end of the URL?
I think this might be related to the sign that ended in the link, which is needed for the cloud service; thanks for the reply, and I will close this issue for now. But for the BackgroundVideo
, it will request to MUX and trying to upload it or something, I haven't figure out why, might be related to the config work.
For my scenario, I need to play some videos on our app, which must be stored in our cloud services. So I have to use next-video with a pure remote video string link like below:
And the pretty weird thing is, for the
BackgroundVideo
, it will request MUX services in the loop (api/video, and when I try to add it as what document says, it will redirect to the MUX services), but I think it should request no more other remote services by document says it can be used without any optimization. And for using thePlayer
only, for this video I will got an issue for loading it, butBackgroundVideo
can load it only with the request issues.I might have missed something, or maybe just next-video is not designed to be used this way. Waiting for help and this is a pretty important function for our app.