next-video icon indicating copy to clipboard operation
next-video copied to clipboard

Infinite GET Request to /api/video

Open Rablidad opened this issue 9 months ago • 2 comments

Hi, Im using this code to load a video:

<BackgroundVideo src="/videos/nba.mp4" > ... </BackgroundVideo>

and for some reason it sends a GET request to /api/video all the time

image

how to solve this?

Rablidad avatar Apr 25 '24 14:04 Rablidad

related #250 this is not really a bug but I see you're trying to use only the video player which is not officially supported yet. we're going to add this soon.

luwes avatar May 05 '24 15:05 luwes

CleanShot 2024-05-13 at 14 24 15 This is happening even when mux is integrated

abduraufsherkulov avatar May 13 '24 09:05 abduraufsherkulov

This even happen after deleting the package, how can I stop it?.

I deleted the package, I delete the project and git clone again, still it keeps sending request

TestCK avatar May 20 '24 00:05 TestCK

there's a next-video/player and next-video/background-player export available in the latest release 1.1.0 these are just the player and will not attempt to upload the video...

example: next-video-demo.vercel.app/player-only main/examples/default-provider/app/(default)/player-only/page.tsx

luwes avatar Jun 03 '24 23:06 luwes