javascript – How to autoplay the saavan link in html audio tag?

I have welcome.html file in that i have one audio tag inside that source attribute i am adding link from the jio-saavan but it’s not playing when the webpage is opened but in console i am getting following error..

Error on console

welcome.html:28 Uncaught (in promise) DOMException: play() failed because the user didn't interact with the document first.
<audio  autoplay id="my_audio">
  <source src="" type="audio/mpeg">

Read more here: Source link