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.
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 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).