collab-project / videojs-record

video.js plugin for recording audio/video/image files
https://collab-project.github.io/videojs-record
MIT License
1.4k stars 315 forks source link

Firefox: screen recording broken. Error message: "DOMException: The object can not be found here." #678

Open fdietz opened 1 year ago

fdietz commented 1 year ago

Description

On Firefox the "official" demo https://collab-project.github.io/videojs-record/demo/screen-only.html doesn't work. After selecting either a window or the screen to share it fails with the following error message:

"DOMException: The object can not be found here."

Steps to reproduce

Go to demo: 1) https://collab-project.github.io/videojs-record/demo/screen-only.html 2) Select either a window or the screen to share 3) Browser dev console shows error

Results

Expected

It should start recording a screen cast.

Actual

It doesn't continue and shows an error

Error output

Browser dev console shows error:

DOMException: The object can not be found here.

Additional Information

Please include any additional information necessary here. Including the following:

versions

VIDEOJS: Using video.js 7.20.1 with videojs-record 4.6.0 and recordrtc 5.6.2

videojs

what version of videojs does this occur with? 7.20.1 (see demo)

browsers

Firefox 110.01 (64.bit)

OSes

MacOS

thijstriemstra commented 9 months ago

I tested it on Windows with Firefox 123.0b9 (64-bits) just now and it works fine here.