Ce site disposera de fonctionnalités limitées pendant que nous effectuons des opérations de maintenance en vue de vous proposer un meilleur service. Si un article ne règle pas votre problème et que vous souhaitez poser une question, notre communauté d’assistance est prête à vous répondre via @FirefoxSupport sur Twitter, et /r/firefox sur Reddit.

Rechercher dans l’assistance

Évitez les escroqueries à l’assistance. Nous ne vous demanderons jamais d’appeler ou d’envoyer un SMS à un numéro de téléphone ou de partager des informations personnelles. Veuillez signaler toute activité suspecte en utilisant l’option « Signaler un abus ».

En savoir plus

Why does my website video works on Chrome and Safari but not Firefox?

  • 6 réponses
  • 2 ont ce problème
  • 10 vues
  • Dernière réponse par cor-el

more options

I just uploaded my website and when I view the site on Chrome or Safari my video works fine. When I look at it on Firefox, the controls for the video are there but there is no picture. It doesn't matter what computer I use to view the site. I used Dreamweaver CC to create the site and I used MP4, OGG, and WEBM, video files as well as a flash backup. The strange thing is that when do a local preview on Firefox within the Dreamweaver program it works just fine.

I just uploaded my website and when I view the site on Chrome or Safari my video works fine. When I look at it on Firefox, the controls for the video are there but there is no picture. It doesn't matter what computer I use to view the site. I used Dreamweaver CC to create the site and I used MP4, OGG, and WEBM, video files as well as a flash backup. The strange thing is that when do a local preview on Firefox within the Dreamweaver program it works just fine.

Toutes les réponses (6)

more options

Can you post a link to a publicly accessible page (i.e. no authentication or signing on required)?

Did you check the src attribute of the video and verified that this file is on the server in the specified location?

more options

I'm sorry, I am very new to creating websites. I don't understand your questions.

more options

Here is the code for the video div.

<div id="video">
    <video controls autoplay >
      <source src="Video/MMMFoxNews.mp4" type="video/mp4">
      <source src="Video/MMMFoxNews.ogg" type="video/ogg">
      <source src="Video/MMMFoxNews.webm" type="video/webm">
      <embed src="Video/MMMFoxNews.mp4" type="application/x-shockwave-flash" />    
</video>

Modifié le par cor-el

more options
   

more options

Apparently you can't put code into a reply. Anyway, I have source src="Video/MMMFoxNews.mp4" type="video/mp4" for each of the different types of video files.

more options

Are all the files in that location on the server and is the server configured to send each of those files with the correct MIME type?

The later is essential because otherwise Firefox will refuse to play a file.

You can check the Browser Console (Firefox/Tools > Web Developer) for errors.

Modifié le par cor-el