I'm making a simple extension that loads an HTML file as the default popup.
In the HTML file I have an <audio> element.
In the <audio> element I am linking to a javascript file that loads a .pls file.
When I open the extension the audio plays fine, but when I close the extension or switch tabs the audio stops playing.
Is there a way so when I close the extension or switch tabs the audio will keep playing?
Is it even possible to have popup.html playing audio when the extension is closed?
popup.htmlAny help much appreciated.
Thanks.
Link to the audio-player.js code:
https://goonlinetools.com/snapshot/code/#zoc24nogygr9ed25cj2ag