Forum Discussion
Background Music Demo
I made a demo featuring background music that goes through the whole course (doesn't change from slide to slide). The user can chose from four songs to listen to and can adjust the volume, and the song continues playing through every slide and loops when it completes. I've also added instructions on how to make this work to the module.
I don't know whether someone else has already posted something like this (I couldn't find anything), but hey if so here's one more!
-------
I've put together a second demo that shows a different way to do this. This second version performs the same actions as the first one, but without needing to edit the output files every time you publish! It saves a lot of headaches when you need to edit something in the course because now you don't have to drop the music files into the output folder and you dont have to edit the html file every time you publish!
I've also attached the second version .story file. Its called Background_Music_Version_2.story.
If anyone needs help getting either versions of this to work I'm more than happy to assist :)
Thanks for popping in with an update Jessica! Please note that replying to the forums via e-mail attaches your signature. You are welcome to pop in and edit if needed.
- ChristiePollickCommunity Member
Glad to hear it, Jessica! I will make a note on your ticket and close it out accordingly. :)
- TaraMcCallCommunity Member
Is there anyone out there that has been successful with this fix? I have been trying it - exactly how it was outlined in the replies & am having no luck! I would love to connect with someone who could help!
Hi Tara!
Hopefully someone here will pop in and assist you, but you are also welcome to reach out to users directly via the 'Contact Me' option on the user profile. You could even reach out to Jackson if you wish.
- TaraMcCallCommunity Member
I did reach out to him, but have not heard back. I would be thrilled if anyone else could help. :)
Hi Tara!
I forgot about this one - maybe this link will assist.
- TaraMcCallCommunity Member
Thank you! I will check it out!
- charlenenealeCommunity Member
Hi Jackson,
If i set this up, can i just make the sound loop over say 2 slides or would it be the entire project?
Thanks,
Charlene
- TaraMcCallCommunity Member
Jackson said this earlier in this post & it worked for me.
So this trigger should stop the music from playing:
var audio = document.getElementById('bgSong');
audio.volume = 0.0;
Hi Charlene! I'm sure that Jackson is probably still subscribed, but I wanted to mention that you can reach out directly via the user profile and the 'Contact Me' option as well in case he's not subscribed :)
- charlenenealeCommunity Member
Perfect, Thank-you