-
-
Notifications
You must be signed in to change notification settings - Fork 317
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
Cannot read property 'startsWith' of undefined (removeRecording()) #575
Comments
can you show some code that reproduces this issue? |
options: {
controls: false,
autoplay: false,
fluid: true,
loop: false,
bigPlayButton: false,
plugins: {
record: {
audio: true,
debug: true,
maxLength: 10 * 60,
video: {
// video media constraints: set resolution of camera
width: 640,
height: 480
},
}
}
} this.player = videojs(`recorder-${this._uid}`, this.options, () => {
if (this.player) {
this.player.record().getDevice();
}
}); Error happens when calling: this.player.record().start(); For context - the implementation works in production, and has worked fine for thousands of users. I caught this with Sentry (twice) and was messaged by a user. My suggestion, add check if |
Agreed. Opened #576 |
Thank you very much! This software has been really useful. |
Description
Caught this in production.
Steps to reproduce
Results
Expected
Starts recording
Actual
Screen black.
Error output
Additional Information
versions
videojs
4.1.1
browsers
Chrome 90.0.4430
OSes
Windows 10
The text was updated successfully, but these errors were encountered: