Hi folk,
I'm developing a quite simple radio player extension.
I have a extension page with all player commands (play/stop, next/previous station etc) while the main audio element <AUDIO> is placed inside an sandboxed iframe of the same page.
I'm exchanging messages between page and iframe to act on playback.
I've chosen to isolate the two environments because in the sandboxed iframe I'm already using some remote code (external JS library).
Is important to state that I'm testing the extension with Chrome Dev channel (version 127.0.6485.0)
Everything was working fine until some day ago.
Now I've found this error in console:
NotAllowedError: "play() failed because the user didn't interact with the document first".Only clicking on that iframe and trying back to initiate the sound reprodution (with "Play" button) the radio sound starts.
My question is
why?
Some day ago everything worked well.
I installed the same extensin on different browsers and I found that Edge, Iron and SlimJet don't raise that error.
Edge version is 125.0.2535.67
Iron version is 123.0.6250.0.
while SlimJet version is 122.0.6261.39
Is a version issue or a browser issue?Something that I can report as a bug...
...or is it a deliberate behavior (which sooner or later I will also find on Edge and Iron)?
TIA