Explore the community Forums Lectora Lectora Questions & Answers Play Sound Effect on Button Click Reply To: Play Sound Effect on Button Click

#439754 Score: 0
Profile photo of Cam Phillips
Cam Phillips
Member
beginner
intermediate
friend finder
wise owl
curious george
contributor
19 pts
@_

However – a new issue!

My Javascript works fine when the audio is triggered by a user action (e.g. clicking) but not on anything “hands-off” (e.g. showing a hidden object).

My web browser blocks this as “autoplaying” audio… does anyone know of a workaround that doesn’t involve the user manually turning this off in their browser?