Page 1 of 1

Login Song

Posted: Mon Oct 26, 2020 6:26 pm
by MikeJT
My friend wants his theme song to autoplay at the login screen.

He's using AWS for hosting.

To the bottom html I increased the dimension to 100 added:

<audio controls autoplay>
<source src="theme.mp3" type="audio/mpeg">
</audio>

I can see the player but it won't play the song.

I have the webfolder setting as C:\Users\Administrator\Desktop\Audiofolder and of course I created that folder on the desktop and it has theme.mp3 within it.

What am I doing wrong? Is there a better or easier way?

Thank you so much!
- Mike

Re: Login Song

Posted: Mon Oct 26, 2020 6:40 pm
by Kent Briggs
Most web browsers will only play an initial sound as the result of a user click to keep web sites from auto playing sounds against the user's will. So that would be my guess why that doesn't work. Check your browser's error console (Ctrl-Shift-J) to see if there is an error to that effect.