Skip to content
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

Video recorded in macOS Chrome does not display in Firefox #392

Closed
debiig92 opened this issue Jul 31, 2019 · 7 comments
Closed

Video recorded in macOS Chrome does not display in Firefox #392

debiig92 opened this issue Jul 31, 2019 · 7 comments

Comments

@debiig92
Copy link

debiig92 commented Jul 31, 2019

Description

When recording a video from Chrome and try to display it in firefox it shows the following message:
Firefox Message
No video with supported format and MIME type found
image

Firefox Warning:
image
Error Code: NS_ERROR_DOM_MEDIA_METADATA_ERR (0x806e0006)

But when recording a video from firefox it displays well in chrome and firefox.
My player init config is the following:

image

I have no idea why this happens. Your answers would be very helpful. Thank you!

Additional Information

versions

videojs

VIDEOJS: Using video.js 7.6.0 with videojs-record 3.8.0 and recordrtc 5.5.8

browsers

Firefox, Chrome

OSes

Ubuntu 18.04 (Production), Windows 10 (Development)

@gitsaket
Copy link

gitsaket commented Aug 5, 2019

Hi @debiig92. I have the same issue but for mine, the videos recorded from the mac os was not playable over the FF. However, the windows and Linux machine recorded video over chrome was rendering with the FF. So, I have changed the videoMIMEType to 'video/webm;codecs=vp9'.

@debiig92
Copy link
Author

debiig92 commented Aug 6, 2019

I will try with video/webm;codecs=vp9 Thanks. Do you think It is a Firefox bug? @gitsaket

@ignl
Copy link

ignl commented Sep 26, 2019

There is Firefox bug regarding h264 incompatibility: https://bugzilla.mozilla.org/show_bug.cgi?id=1422891
vp8 should work though.

@thijstriemstra
Copy link
Member

I will try with video/webm;codecs=vp9 Thanks.

did this work @debiig92?

@thijstriemstra
Copy link
Member

vp8 should work though.

I recorded a video+audio clip in Ubuntu 20.04 using Chrome 89.0.4389 and was able to playback the clip using video.js in Firefox 85.0. Used videojs-record 4.2.0 and video.js 7.11.4.

I have the same issue but for mine, the videos recorded from the mac os was not playable over the FF. However, the windows and Linux machine recorded video over chrome was rendering with the FF.

I'll have to test macOS as well. Renaming the ticket.

@thijstriemstra thijstriemstra changed the title Video recorded in Chrome does not displays in Firefox Video recorded in macOS Chrome does not display in Firefox Feb 16, 2021
@thijstriemstra
Copy link
Member

The same issue applied to Safari as well and since Safari Technology Preview 121 that should be fixed:

  • Fixed playback of WebM/Opus generated from Chrome MediaRecorder (r272822)

@thijstriemstra
Copy link
Member

I'll have to test macOS as well.

Tested with:

Google Chrome 89.0.4389.72 (Official Build) (x86_64)
macOS Version 11.2.2 (Build 20D80)

And saved the recorded webm file using player.record().saveAs. It saved the file as foo12.webm;codecs=vp8,opus which is a new issue, before it didn't append the ;codecs=vp8,opus part. I opened a new ticket for this: #553

After renaming the file manually to foo12.webm I opened it in Firefox 86 and both audio and video properly displayed.

So considering this bug fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants