Login Song

For general discussion of the Poker Mavens software
Post Reply
MikeJT
Posts: 1
Joined: Mon Oct 26, 2020 6:17 pm

Login Song

Post 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
Kent Briggs
Site Admin
Posts: 5880
Joined: Wed Mar 19, 2008 8:47 pm

Re: Login Song

Post 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.
Post Reply