First of all I apologies if am not aware of similar questions been answered, if so please enlighten me so I can refer and learn (In case they satisfy context of my problem).
So, context is my question is completely based on Autoplay Policy Changes. Right now this policy imposed to take down unwanted stuff or advertisements to be auto played without user's consent. Possibly causing security threats and bandwidth consumption specially on mobile devices.
The only solution to make it work for some legitimate use is to make user interact with website. That's cool, I tried to accomplish this by showing an 'alert' box, but it is not satisfying that criteria (Make user interact first). Rather if I add a button to the document body and click on it, then the criteria match I can listen the audio I want to play on page load.
So I wonder whether these boxes are alien to DOM ? or do they belongs to client only?
I appreciate in advance for any solution which could have been obvious, pro, immature or lay man's knowledge for me to realize. I am a learner.