Video compatibility across browsers

Hello Everyone,

I have had the same problems with three different Hugo themes (hugo-book, Relearn and Docsy). Obviously, it isn’t a theme specific issue. My videos load on Firefox but not on Chromium browsers. I have tried everything I could think of.
I have been using Hugo for several years but had never used a theme. I had done everything myself with html, css and a bit of java. I never had such a problem.

What I have deployed here, for example,
[Aborigines | English Class]

works on my PC with firefox but not chrome or brave. On my mac, it works on brave, but not on safari. On my iPhone, it works! yeah!

All my systems and apps and browsers are up to date.
Does anyone have any idea what’s going on?
Thank you so much

[GitHub - Steph-001/hugo-book]

[Aborigines | English Class]

I’ve tried that link on my Windows 11 PC with Firefox, Chrome and Edge and the video works well in all three of them.

Maybe a plugin that blocks access? Does something pop up in the browser’s dev tool console?

but not chrome or brave

What does that mean? What happens?

Hi, thanks for your reply.
I mean the videos don’t work on chrome or brave on my pc, but only on firefox.
I’ll check my plug ins in brave, but I have no plug ins in chrome which I only used for this test.
Not working on edge either. There are problems on two computers (mac and pc) so this is really incomprehensible.

This is what I get in the console (same for mp3)

The FetchEvent for "https://test.stephanejacquet.fr/video/intro.mp4" resulted in a network error response: the promise was rejected.
Uncaught (in promise) TypeError: Failed to convert value to 'Response'.
Failed to load resource: net::ERR_FAILED
The FetchEvent for "https://test.stephanejacquet.fr/audio/sample.mp3" resulted in a network error response: the promise was rejected.

I get unreliable results in Firefox. Sometimes I see the same messages as you in the console. Sometimes not.

In all cases, the video thumbnail is displayed and I can press the play button.

Anyways, the video is 31MB which takes a bit to load.

To remove complexity, I would turn off the service worker first and see what happens next.

I have found something very strange. On Chromium browsers (chrome, brave, edge) the video isn’t working unless I flush the cookies. Then it is working, but if I reload the page, it no longer works … unless I delete all the cookies again. Can we conclude from this that the Hugo theme leaves a cookie when loaded which somehow prevents the video from loading. I find this unbelievable. Apparently this does not happen with everyone. So, is there something specific to my internet access, my box? The same behaviour can be observed both on my PC and my mac., and both on my internet box (optic fiber) and on my iphone hot spot (5G).

https://test2.stephanejacquet.fr/docs/aborigines/

Any idea?

You probably get better support from the theme’s author.

Otherwise the name and content of the cookie may indicate where it is coming from and what it does.