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 sharing Jackson!
- JenniferMcCannCommunity Member
Thank you so much, Jackson! Would it work differently if it is published for an LMS? It works well when published for CD, but once I publish it in LMS form, zip the file, and then plug it into our LMS (Moodle), it doesn't work anymore.
- JacksonHamnerCommunity Member
I honestly don't know if I can help with this. I don't use Moodle, nor do I have access to my organization's LMS sandbox, so I can't test it out. My guess is that you would need to:
1) ZIP the file so its ready to go into the LMS
2) Double click the ZIP and view the contents (don't unzip!)
3) Drag the story.html file out of the ZIP window and open it in a text editor
4) Add the line that goes into the html file
5) Save it and drop the new story.html file into the ZIP window and overwrite the old one
6) drop a copy of the audio file into the ZIP window
7) Close the ZIP window and upload it to your LMS
I hope that is at least a little accurate and helps get it to work in the LMS. If anyone has any real experience with this and can help out it would be much appreciated!
- VeronicaBudnikaSuper Hero
This is so great Jackson, thanks so much for sharing!
- DavidCharney1Community Member
Nice!
- ChristiePollickCommunity Member
Thanks, Jackson - glad to see others are still finding your suggestions so useful! :)
- RussSawchukCommunity Member
A BIG Thank You, Jackson. I have a nursing course with many StoryLine components, include a separate References and Credits module. Adding background music to each slide just didn't sound right. However, your solution makes it much more professional sounding.
For anyone interested, you can see the final results here.
Thanks again,
Russ
- ChristiePollickCommunity Member
Thanks for sharing, Russ -- looks and sounds great! :)
- LynLucovskyCommunity Member
Another BIG THANK YOU Jackson! I followed your instructions and it worked beautifully. On my first attempt I was using an .m4a file which didn't work. When I converted it in iTunes to an .mp3 file, it worked like a charm. Thanks again!!
- JacksonHamnerCommunity Member
Yeah, unfortunately the <Audio> tag only supports mp3, wav, and ogg files.
Glad this was able to help you guys!
- ChristiePollickCommunity Member
Hi, Lyn -- So happy to see that Jackson was able to provide just what you were looking for! That's the beauty of this community. :)