Audio Autoplay with Pipe Structure | XM Community
Skip to main content
Question

Audio Autoplay with Pipe Structure

  • July 5, 2021
  • 1 reply
  • 10 views

Forum|alt.badge.img

Hi!
I am creating a survey with audio elements. I just want to auto-play the audio for initial presenting, but not auto-play when piped to other pages. Is there any script that could help to make this work? For the initial auto-play, I used the  "autoplay=true" statement for the audio in the Html script.
Thanks!
Lei

1 reply

Forum|alt.badge.img+22
  • Level 7 ●●●●●●●
  • July 5, 2021

Thankfully, you can can't autoplay an audio/video file till the user has interacted with your page. Otherwise the web would be a pretty horrible place.
Before the audio file, add a button which asks them to open the instructions or something like that.