-
Notifications
You must be signed in to change notification settings - Fork 17
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
Audio is not defined. #26
Comments
What version are you using? |
I am using these versions: |
That error is from a previous version. In |
The |
I have multiple apps deploy to vercel and none of them is presenting this issue with the latest version. I also created a Sandbox and was not able to reproduce it |
Thanks for your help! I'll keep looking for a solution and let you know when I find it. |
you probably have SSR on the component. make sure it's rendered on the client import dynamic from 'next/dynamic'
const DynamicQrScanner = dynamic(() => import('@yudiel/react-qr-scanner').then(mod => mod.QrScanner), {
ssr: false
});
<DynamicQrScanner
onDecode={(result) => console.log(result)}
onError={(error) => console.log(error?.message)}
/> |
I was having the same issue and @nick-tw answer solved my problem. Thank you so much. |
This should be fixed in the beta version |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
I have the same problem version: ^2.0.0-beta.3 |
This issue should be fixed on |
So, i am trying to run the package on a next JS app, and i get this error, some on know how to fix?
The text was updated successfully, but these errors were encountered: