Jump to content

Background video can be watched on Chrome but not on Firefox

Recommended Posts


 This is my site:


 I'm using the Divi theme and i have a section with a video background. The theme allows me to load a .mp4 and a .webm file, but not a .ogg file (maybe that's the issue?). I can see the video with no problem in Chrome, but in Firefox the video doesn't load and just give a black background.

 How can i fix this? 

 I read online that you can solve the problem adding this to the .htacess file, but it didn't fix the problem:

AddType video/ogg .ogv
AddType video/mp4 .mp4
AddType video/webm .webm

Share this post

Link to post
Share on other sites

You should check to see if the browsers support your video format: https://developer.mozilla.org/en-US/docs/Web/HTML/Supported_media_formats#Browser_compatibility

You can use the <source> elements to provide fallback formats to support a wider range of browsers.

Share this post

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Create New...