Where did you install Firefox from? Help Mozilla uncover 3rd party websites that offer problematic Firefox installation by taking part in our campaign. There will be swag, and you'll be featured in our blog if you manage to report at least 10 valid reports!

Αναζήτηση στην υποστήριξη

Προσοχή στις απάτες! Δεν θα σας ζητήσουμε ποτέ να καλέσετε ή να στείλετε μήνυμα σε κάποιον αριθμό τηλεφώνου ή να μοιραστείτε προσωπικά δεδομένα. Αναφέρετε τυχόν ύποπτη δραστηριότητα μέσω της επιλογής «Αναφορά κατάχρησης».

Learn More

mp4 videos fail to load using <video> tag

  • 4 απαντήσεις
  • 0 έχουν αυτό το πρόβλημα
  • 1 προβολή
  • Τελευταία απάντηση από TyDraniu

more options

I am trying to add an mp4 video to my website using the following code:

<video width="320" height="240" controls>
  <source src="images/###.mp4" type="video/mp4">
</video>

where ### is the name of the video file. I get the following error message:

"No video with supported format or MIME type found."

In the console the following is displayed:

"Media resource http://127.0.0.1:5502/images/###.mp4 could not be decoded. video.html All candidate resources failed to load. Media load paused. video.html Media resource http://127.0.0.1:5502/images/###.mp4 could not be decoded, error: Error Code: NS_ERROR_DOM_MEDIA_METADATA_ERR (0x806e0006)"

Runs just fine in Chrome and I have no pop-up blockers installed. Autoplay is set to be allowed for all websites.

Windows 11 version 23H2. Firefox version: 126.0 (64-bit)

I am trying to add an mp4 video to my website using the following code: <pre><nowiki> <video width="320" height="240" controls> <source src="images/###.mp4" type="video/mp4"> </video></nowiki></pre> where ### is the name of the video file. I get the following error message: "No video with supported format or MIME type found." In the console the following is displayed: "Media resource http://127.0.0.1:5502/images/###.mp4 could not be decoded. video.html All candidate resources failed to load. Media load paused. video.html Media resource http://127.0.0.1:5502/images/###.mp4 could not be decoded, error: Error Code: NS_ERROR_DOM_MEDIA_METADATA_ERR (0x806e0006)" Runs just fine in Chrome and I have no pop-up blockers installed. Autoplay is set to be allowed for all websites. Windows 11 version 23H2. Firefox version: 126.0 (64-bit)

Τροποποιήθηκε στις από το χρήστη cor-el

Όλες οι απαντήσεις (4)

more options

Does Firefox play the video if you paste its URL in the location bar ?

Χρήσιμο;

more options

No, it only shows "No video with supported format or MIME type found." Upon further investigation I see that the video used Codec: MPEG-H Part2/HEVC (H.265) (hvc1). Could this be the issue?

Χρήσιμο;

more options

crb001 said

No, it only shows "No video with supported format or MIME type found." Upon further investigation I see that the video used Codec: MPEG-H Part2/HEVC (H.265) (hvc1). Could this be the issue?

Yes. You can check your supported codecs in about:support in the Media section.

Χρήσιμο;

more options

You can also go to about:config and set media.wmf.hevc.enabled = 1.

Χρήσιμο;

Υποβολή ερώτησης

Πρέπει να συνδεθείτε στον λογαριασμό σας για να απαντήσετε σε δημοσιεύσεις. Ξεκινήστε μια νέα ερώτηση εάν δεν διαθέτετε ακόμα λογαριασμό.