Notification sound play on website

Job ID: 37140199

Budget: $10 – $30 USD

I would like to have a small html file, when I open it, it should play a small notification sound automatically,

eg:
1) https://www.w3schools.com/tags/tryit.asp?filename=tryhtml5_audio_autoplay
2) Gmail new email notification

Problem, when we use the above attached w3schools example on our local/remote server it does not work they way it work on w3schools website.

Your Task:

I want a html page, when I open it on my local computer it should play some quick sound automatically. and once it uploaded to the server, it should work exactly that way.

The browser I'm using is latest Google Chrome, and Safari.

Thank you
Related categories: JavaScript CSS HTML5 HTML Push Notification