react-vimeo
react-vimeo copied to clipboard
ReferenceError: VideoHandler is not defined
I'm implementing a very simple background video with your package:
<Vimeo dnt background video="600918237" />;
And my console throws this:
Uncaught ReferenceError: VideoHandler is not defined
at vimeo_video_handler.js:7
My dependencies:
"dependencies": {
"@u-wave/react-vimeo": "^0.9.5",
"next": "^11.1.0",
"react": "^17.0.2",
"react-dom": "^17.0.2",
},
Not sure if it's related, but autopause doesn't work neither.
Maybe because I'm using next.js?
Could it have to do with SSR, or script loading?
I've seen other issues with VideoHandler is not defined on the Vimeo API, and the reason seamed to be the loading of the player SDK.
Apparently the autopause issue is being addressed in another thread: https://github.com/vimeo/player.js/issues/714
sorry for leaving this hanging, i suspect this is not this package's fault, but i don't really know. i will close this as stale but feel free to comment if there is still an issue.