Jump to content

Background audio on/off


phprocker

Recommended Posts

???  Hey all.  I need to create a script that has an on/off button for some background audio in a web page. Basically when a user comes to a site I have some audio that automatically plays. But I'd like them to have the option to shut it off and a cookie be saved for the next time they visit that their preference is to have the audio off.

 

If someone can point me in the right direction that would be great!

 

Thanks

Link to comment
https://forums.phpfreaks.com/topic/56379-background-audio-onoff/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.