Forum Discussion
Articulate Storyline 360- Music across specific slides - how to stop it?
Hi again. I replaced my current initialization script/trigger with your "initialize and play audio" script.
I also deleted my 2nd script
TRIGGER 2
var audio = document.getElementById('bgSong');
audio.src="Jeopardy 3 Minute music Mixdown JHenry.mp3";
audio.load();
audio.play();
When publishing, there is no audio whatsoever.
Then, I added your "play audio" script as an additional trigger (both triggers on Slide 2).
Published, and no audio is heard.
I think I need a more granular step-by step in order to get this right and to know what to put where and what not to include.
Also, I was a little confused about why you included both an "initialize and play audio" and also a "play audio" script.
I want to do 3 things
1. initialize and play a 3-minute audio (from slide 2), continuously throughout progress through the slides.
2. Stop that audio when user reaches a target slide. Meaning the user has reached the slide before 3 minutes.
3. Don't loop the audio that was started on Step 1. It naturally ends after 3 minutes because it is a 3-minute audio.
So I don't need to pause the audio or restart it at any time, once it has started.
Thanks for your responses and time, Jürgen. I know it's not helpful that I don't know javascript, lol.
James
Related Content
- 11 months ago
- 8 months ago