Audio intermitency js

The page is exibit in a TV on a reception. When it’s open we got a dialog with a button to allow the webpage to play audio. And the page refresh itself after 40 seconds.

For the most time of the day, the page is playing the sound, but sometimes, the text is updated but the sound is not heard. And it just come back after a manual refresh(F5). It seems the problem is with the browser. As the page has not user interactions, in addition tobutton to allow the sound, maybe the browser is disabling the sound?

On the manual refresh case, there was no interaction with the page, like a click, just a F5.

Currently we’re using the Audio, should i try with the AudioContext?

We though the problem was with cache, so we created a auto refresh, but it wasn’t enougth to resolve the problem.

i’m expecting now to find a clue about what’s stopping the audio from playing