Skip to content
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

Blob is not defined #112

Open
somitBond opened this issue Oct 12, 2022 · 5 comments
Open

Blob is not defined #112

somitBond opened this issue Oct 12, 2022 · 5 comments

Comments

@somitBond
Copy link

error - ReferenceError: Blob is not defined

@kalib-code
Copy link

Similar problem on Next.js
follow this

import dynamic from "next/dynamic";
const DynamicComponent = dynamic(
  () => import("react-media-recorder").then((mod) => mod.ReactMediaRecorder),
  {
    ssr: false,
  }
);

@huytran46
Copy link

huytran46 commented Nov 29, 2022

hi @kalib-code,
I'm still getting this error in Nextjs
image

@kalib-code
Copy link

Same thing

@seebham
Copy link

seebham commented Dec 6, 2022

Instead of dynamically importing the RecorderComponent or the hook, try dynamically importing the parent component of the recorder. It worked for me.

@gameveloster
Copy link

gameveloster commented Feb 2, 2023

@seebham Can you please share your solution? I'm trying to load useReactMediaRecorder in Next.js. Thank you!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants