Music Background is not working in Scorm Cloud
Hi everyone,
I am using this JS code to adding music background:
1. On File Publish Output story_html5: adding this code
<audio src="your audio file name.mp3" id="bgSong" preload="auto" autoplay loop></audio>
2. On Storyline Trigger--> Execute javascript when time line start:
var audio = document.getElementById('bgSong');
audio.src="1.mp3";
audio.load();
audio.play();
so the Audio will load automatically when the course start
after that I am also use this JS code to get the volume control via Dial using code from Owen Holt :
1. on Storyline trigger -->execute javascript when Variable changes:
var player = GetPlayer();
var level = player.GetVar("Volume")
var audio = document.getElementById('bgSong');
audio.volume = level;
the Variable is "Volume" number.
After all set done, I publish to SCORM 1.2, & it work perfectly fine.
the Problem is
Before I upload to my company LMS, I try to upload into SCORM Cloud to test it, and sadly the audio background doesn't works
I have a few guesses:
1. Some JS doesn't supported by SL3 if publish to LMS or Scorm cloud doesn't supported it, perhaps my Company LMS too
2.Before I Zipped the output before upload to Scorm Cloud, I have to add again "your audio file name.mp3" into zipped file because after I zipped it the audio file is missing. Is this methode could be the reason?
Really Appreciate for people who would like to take a peek & give solution
Regards,
Anderson
Hi everyone!
I have some great news to share. We just released another update for Storyline 360. In Update 74, we've included important fixes and new features.
One of the new features we've included is:
- Create immersive experiences with continuous background audio that sets the tone and keeps learners engaged.
Launch the Articulate 360 desktop app on your computer to take advantage of this update, and click the Update button next to Storyline 360. You'll find our step-by-step instructions here.
Please let me know if you have questions!