Video record sample not working in Chrome or Edge on Windows
See original GitHub issueDescription
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
Issue Analytics
- State:
- Created 5 years ago
- Comments:26 (11 by maintainers)
Top Results From Across the Web
Videos Not Playing on Chrome: Fix It with 10 Methods
Videos are not playing or even loading on Google Chrome? Don't worry. This article will provide 10 methods you need to fix video...
Read more >Why is my camera or microphone not working?
Audio problems? Camera not working? Try these steps to resolve the problem! The following video shows you how to do some basic...
Read more >Troubleshoot camera, microphone, and screen recording ...
Grant camera and microphone permissions in Google Chrome or Microsoft Edge in Windows or macOS · Go to Settings. · Select Privacy and...
Read more >Use your camera & microphone - Computer
Fix problems with your camera · Step 1: Check your site permissions in Chrome · Step 2: Check your system settings · Step...
Read more >Not recording videos in browsers | OBS Forums
The problem also occurs with videos from youtube and facebook, for example. I'm already disable hardware acceleration in chrome, disable full ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
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.