-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
With Next.js using React 18, I cannot play the video from the onReady. #1429
Comments
It's same here. Yesterday, I upgrade Next 11 to Next 12 and React 17 to React 18. In old version of these two libraries don't occur loop of warnings. I guess is related to issue #377 |
Should be fixed in |
@cookpete I tried it on |
In Next 13, I implemented React Player in Player.tsx component and used dynamic import to import this component inside 'use client' component. It's working fine for me @bciach |
Current Behavior
When I try to play a video in
onReady
, the video does not play.In addition, the following message is displayed on the console.
Expected Behavior
Play the video as soon as it is ready to be played.
Steps to Reproduce
yarn
yarn dev
Environment
Other Information
It worked if I did not use Next.js.
CodeSandBox
The text was updated successfully, but these errors were encountered: