react-vimeo icon indicating copy to clipboard operation
react-vimeo copied to clipboard

Error: Unknown player. Probably unloaded.

Open eliawk opened this issue 2 years ago • 8 comments

Sometimes I get this warning:

Schermata 2023-05-18 alle 14 45 53

Seems related to Vimeo itself: https://github.com/vimeo/player.js/issues/688

eliawk avatar May 18 '23 12:05 eliawk

Same here.

LJNGDAHL avatar May 19 '23 08:05 LJNGDAHL

As long as the video loads you can use a quick hack until a fix comes out:

try {
  return <Vimeo video={id} />
} catch {
  // Empty
}

0xtelmo avatar May 20 '23 00:05 0xtelmo

+1

Jairwin-L avatar Jun 08 '23 07:06 Jairwin-L

We're seeing this as well. CC @sacenox

statico avatar Oct 16 '23 20:10 statico

I am getting the same error! onReady did not help at all. UPDATE: I am using ReactPlayer (react-player) for now. I had to use useEffect and use state to solve the hydration error in Next.js though. Cheers!

madfcat avatar Dec 07 '23 22:12 madfcat

I'm getting the same error. Has a fix come out for this?

ltechera avatar Mar 29 '24 18:03 ltechera

Someone would have to reproduce this and get to the root cause before it can be fixed 😇

I'm not sure what the underlying problem is. It seems like maybe, an event comes in from the vimeo iframe after the player is supposed to be unmounted? That's just a guess...

goto-bus-stop avatar Apr 02 '24 16:04 goto-bus-stop