Page sound - Post ID 254102
How do I insert a sound that plays automatically on all devices in RSD?
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>
<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
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
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).
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.
Give them a way to turn it off and you may save at least "some" of your visitors.

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

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.