Forum Discussion
Audio file does not play
I'm looking for a workaround, for this situation. I have a "dummy/blank" slide (to avoid the large play button) and then it goes to the real slide, but it won't play the audio unless the user clicks, how can I trigger the audio to play automatically? It plays fine when you preview, but not when it's published.
3 Replies
- Jürgen_Schoene_Community Member
hi,
current browsers block audio and video with audio for good reason - but the exact behavior is different on Chrome/Firefox and Safari.
Firefox - (un)blocked list
https://support.mozilla.org/en-US/kb/block-autoplayChrome (MS Edge) - user interaction with the page:
https://developer.chrome.com/blog/autoplay/Mac Safari - "automatic inference engine":
https://webkit.org/blog/7734/auto-play-policy-changes-for-macos/iOS - user interaction with the audio element
there is no simple way to avoid play button - but the play button could of course be programmed more intelligently and only show up when it is really needed (-> javascript promise)
how about a feature request?
Jürgen
- LaVonBowmanCommunity Member
I have an MP3 audio file. Before I insert it into an interactive Timeline block, it plays and has sound. After I upload it into the block, it plays but has no sound.
Does anyone know why?
Hi LaVonBowman,
Thanks for reaching out! I tested this on my end and was unable to replicate this behavior in a Timeline Block.
- What environment are you playing the audio within the Timeline Block?
- I'm curious if you're experiencing this when editing, previewing your course, or viewing your course in a published output!
- Can you successfully hear the sound playing when inserting the MP3 file into an Audio Block?
- Do you experience this behavior with other MP3 files or just this one?
It would be helpful to take a closer look at your MP3 file and a screen recording of this behavior. You can share in this thread or privately in a support case.
Looking forward to hearing from you!
- What environment are you playing the audio within the Timeline Block?