Jump to content

Background video can be watched on Chrome but not on Firefox


harry_ord

Recommended Posts

Hello

 This is my site:

http://negociovirtual.cl/

 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

Link to comment
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.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...