Page sound - Post ID 254022

User 162337 Photo


Registered User
4 posts

How do I insert a sound that plays automatically on all devices in RSD?
User 187934 Photo


Senior Advisor
20,188 posts
Online Now

Use an html element and use this code.
<audio loop="true" autoplay hidden="true">
<source src="sounds/mycoolsound.mp3" type="audio/mp3">
<source src="sounds/mycoolsound.ogg" type="audio/ogg">
</audio>
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 2319362 Photo


Registered User
14 posts

While the above code will work, please keep in mind that auto-playing sound in websites is a pretty big no-no. Most visitors to a website are not expecting auto-playing content and will not appreciate it, with exceptions for websites that are explicitly designed for playing content (like Youtube).
User 38401 Photo


Senior Advisor
10,951 posts

Another thing to take into consideration if you absolutely must have music or sounds loading on webpages automatically is to include an on/off switch for your visitors so they can at the very least turn it off if they don't want it there. There's nothing that will scare away a visitor faster than music that someone hates a style of, is too loud, can't be turned off, etc. etc.

Give them a way to turn it off and you may save at least "some" of your visitors. :)
User 188640 Photo


Registered User
895 posts

Jo wrote:
Another thing to take into consideration if you absolutely must have music or sounds loading on webpages automatically is to include an on/off switch for your visitors so they can at the very least turn it off if they don't want it there. There's nothing that will scare away a visitor faster than music that someone hates a style of, is too loud, can't be turned off, etc. etc.

Give them a way to turn it off and you may save at least "some" of your visitors. :)


+10 :D
A Rose is Just a Weed in a Corn Patch!

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.