videojs-record: Video record sample not working in Chrome or Edge on Windows
Description
None of the video record demos are working in Chrome and Edge on Windows.
Steps to reproduce
- Visit https://collab-project.github.io/videojs-record/examples/audio-video.html
- Click the device image to start.
- Authorize webpage to access camera.
- Press record.
Results
Expected
Video.
Actual
Edge: Camera turns on and shows the video feed, but clicking record does nothing (no error in console) Chrome: No output, green camera view box. Clicking record produces error as shown below.
Error output
VIDEOJS: ERROR: TypeError: this.mediaElement.play is not a function
at t.value (videojs.record.js:1253)
at t.value (videojs.record.js:588)
at t.value (record-toggle.js:59)
at HTMLButtonElement.n (video.min.js:2)
at HTMLButtonElement.X.n.dispatcher.n.dispatcher (video.min.js:1)
Additional Information
Please include any additional information necessary here. Including the following:
versions
videojs
Using video.js 6.9.0 with videojs-record 2.3.0 and recordrtc 5.4.7
browsers
Chrome Version 66.0.3359.181 (Official Build) (32-bit & 64-bit) and Version 67.0.3396.62 (Official Build) (32-bit & 64-bit)
OSes
Windows 8, 10
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Comments: 26 (11 by maintainers)
Commits related to this issue
- add note about disabling browser extensions refs #250 — committed to collab-project/videojs-record by thijstriemstra 6 years ago
Sorry for the delay. Just retested on Chrome on Windows 8 and it works with the Video Speed Controller extension disabled. So it seems that was the culprit. Bug should be closed as the issue is much less broad than I initially thought. I believe the remaining issues are:
Not sure if those bugs are worth reporting, let me know.
This happened with me because there was no SSL on my website where I hosted. And if there is no SSL, chrome blocks the video part entierly. Put an SSL on your website and it will be solved.
I just tested in on both Win7 and Win10, Chrome 67, and it works perfectly.
Could it be that some chrome extension is interfering?
On Wed, Jul 4, 2018 at 6:49 PM Leo Spalteholz notifications@github.com wrote:
Firefox 60 on Windows 10 works.
Console: