I'm working on a page that loads with an alert and an mp3 autoplay. In Firefox the alert shows up with the Background Image and sound, but in Chrome the alert loads on an empty sites and without the sound, and shows the Background Image only after clicking OK.
CSS
body{padding:0;margin:0;font-family:arial,sans-serif;background:url(images/bgg.png)
HTML
<body >
....
....
<audio controls autoplay>
<source src="marimbaiph.mp3" type="audio/mpeg">
</audio></center><br>
<script type="text/javascript">
alert('Hello \nPlease Click "OK" to continue. ');
</script>
Is there a way to make the alert pop after showing the Background Image and playing the sound also in Chrome?
Thanks