question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Video record sample not working in Chrome or Edge on Windows

See original GitHub issue

Description

None of the video record demos are working in Chrome and Edge on Windows.

Steps to reproduce

  1. Visit https://collab-project.github.io/videojs-record/examples/audio-video.html
  2. Click the device image to start.
  3. Authorize webpage to access camera.
  4. 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:closed
  • Created 5 years ago
  • Comments:26 (11 by maintainers)

github_iconTop GitHub Comments

2reactions
leospalteholzcommented, Jul 10, 2018

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:

  1. Problems with the sample using Edge
  2. Chrome with Video Speed Controller doesn’t work even though the sample from Google works…

Not sure if those bugs are worth reporting, let me know.

1reaction
agauravdevcommented, May 28, 2020

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found