Przeszukaj pomoc

Unikaj oszustw związanych z pomocą.Nigdy nie będziemy prosić Cię o dzwonienie na numer telefonu, wysyłanie SMS-ów ani o udostępnianie danych osobowych. Zgłoś podejrzaną aktywność, korzystając z opcji „Zgłoś nadużycie”.

Więcej informacji

Please add better support for .mp4 video playback.

  • 6 odpowiedzi
  • 0 osób ma ten problem
  • 38 wyświetleń
  • Ostatnia odpowiedź od James

more options

Hello, can you add better support playback on .mp4 videos? Seems with Firefox it's a hit-and-miss with some .mp4 videos that will play and some that will just show "No video with supported format and MIME type found".

All other browsers will play .mp4 videos without an issue but Firefox won't.

If you can provide better .mp4 playback support that would be greatly appreciated. Thanks

Here's one of those videos for an example: https://drive.google.com/drive/folders/1Fv6SdftiCXeYPQOdF17H2JNpwjMu9P7q


Pretty much a URL string like example.com/videosample.mp4

Hello, can you add better support playback on .mp4 videos? Seems with Firefox it's a hit-and-miss with some .mp4 videos that will play and some that will just show "No video with supported format and MIME type found". All other browsers will play .mp4 videos without an issue but Firefox won't. If you can provide better .mp4 playback support that would be greatly appreciated. Thanks Here's one of those videos for an example: https://drive.google.com/drive/folders/1Fv6SdftiCXeYPQOdF17H2JNpwjMu9P7q Pretty much a URL string like example.com/videosample.mp4
Załączone zrzuty ekranu

Wszystkie odpowiedzi (6)

more options

Your example video works for me.

Install the Media Feature Pack if applicable.

Does it still happen in Troubleshoot Mode?

more options

Firefox can play .mp4 videos just fine as your example works for me.

I agree that you may need install the Media Feature Pack for your Windows if you have a N or KN edition in order to have the codecs needed.

See also https://support.mozilla.org/en-US/kb/html5-audio-and-video-firefox kb article.

more options

Preview from the download page works, but if I save the file and open it locally, then I get a NS_ERROR_DOM_MEDIA_METADATA_ERR error in the Web Console.

Media resource file://.../videosample.mp4 could not be decoded, error: Error Code: NS_ERROR_DOM_MEDIA_METADATA_ERR (0x806e0006)
Details: static MP4Metadata::ResultAndByteBuffer mozilla::MP4Metadata::Metadata(ByteStream *): Cannot parse metadata videosample.mp4

https://bugzilla.mozilla.org/buglist.cgi?query_format=specific&order=changeddate%20desc%2Cbug_id%20desc&content=%22NS_ERROR_DOM_MEDIA_METADATA_ERR%22

more options

I have run the video example from both Windows 10 and Windows 11 on the latest version of Firefox and it still shows the same thing. The fact you're saying "it works" installing Media Feature Pack is like putting Flex seal on a sinking boat instead of fixing it properly. Just like using a plugin to try and solve a browser problem that should have not been an issue to begin with.

Look, I run a function and it uses the browser to record video samples. That sample video I sent is from Edge recording it from there. The fact that this is not fully supported "Nativly" by Firefox is bizarre. I shouldn't need to tell someone, oh not playing? Well, install Media Feature Pack or use something that's not a Gecko engine.

See the problem? I have my own problems with Firefox as a dev sometimes with it not following basic web standards and this is one of those things.

The video is encoded by the browser on your device [phone|computer]. No way to fix this from my function with code or settings. The only way to have any browser encoded and uploaded video playable in any other browser is to re-encode the video with the h264 codec in a mpeg4 container using ffmpeg serverside. That means a VPS server, with ffmpeg and enabling the PHP shell_exec function. Just because one browser fails to follow basic web standards.

Google Drive may not have been the best place to show the sample so here, I'll do it this way. Both were recorded the same way.

Recorded from Edge: https://destructiveburn.com/DBGuest/DB/Issues/Firefox/videosample.mp4 Plays in all browsers but Firefox.

Recorded from Firefox: https://destructiveburn.com/DBGuest/DB/Issues/Firefox/videosample.webm Plays in all browsers.

I hope you understand where I am getting at. Installing extra things on the side just to get it to work is out of the question when you have multiple people who are trying to watch it but use Firefox but can't. The browser engine needs to be updated.

more options

cor-el said

Preview from the download page works, but if I save the file and open it locally, then I get a NS_ERROR_DOM_MEDIA_METADATA_ERR error in the Web Console. Media resource file://.../videosample.mp4 could not be decoded, error: Error Code: NS_ERROR_DOM_MEDIA_METADATA_ERR (0x806e0006) Details: static MP4Metadata::ResultAndByteBuffer mozilla::MP4Metadata::Metadata(ByteStream *): Cannot parse metadata videosample.mp4

https://bugzilla.mozilla.org/buglist.cgi?query_format=specific&order=changeddate%20desc%2Cbug_id%20desc&content=%22NS_ERROR_DOM_MEDIA_METADATA_ERR%22

Thanks, at least you saw the error. 😉

more options

DestructiveBurn said

The fact you're saying "it works" installing Media Feature Pack is like putting Flex seal on a sinking boat instead of fixing it properly. Just like using a plugin to try and solve a browser problem that should have not been an issue to begin with.

No, the Media Feature Pack is not some lame hack or Plugin or such for Firefox users but for those who have N or KN Editions of Windows 8 or later to installed as these editions of Windows do not come with this stuff. People who have the N or KN Editions of Windows 8 or later without the media feature pack installed may have issues with playing recently uploaded videos or live streams on Youtube for example as they only had more limited codecs support.

I use Linux and one has to install FFmpeg for example in order to have the codecs to fully support including video, audio and games in html5 players used by sites all over including sites like Youtube and Twitch.