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 :)
- JacksonHamnerCommunity Member
Hey Jane,
So I have to apologize, there was an error my previous post that stopped your file from working.
This is what I told you to set the variable as: story_content\WebObjects\6VUFHlYBLQO
It should have been this: story_content/WebObjects/6VUFHlYBLQO/
Notice that the slashes are facing the other direction and there is an additional one at the end. I corrected my mistake and your file started working! I attached the working file to this post so you can see this change.
Sorry about that! Let me know if you run into any more snags :)
- JaneJordan1Community Member
thanks Jackson working perfectly
- JaneJordan1Community Member
Hi Jackson
everything working beautifully - just one thing I came across - when I left
the module and then came back into it where I left off I noticed there
wasn't any music!
Is this because we have the Java script on the first slide and so it
doesn't know if I come in at slide 11 to activate the script.I guess I could put the Java script trigger on every slide or do you know a
quicker way?Thanks again
Jane - JaneJordan1Community Member
Hi Jackson
just wondered if you had a fix or some script for this issue - when the user moves to a different part of the course via the menu the background music stops. And when the user leaves the course Then returns to the course there is no music.
maybe it's not possible - so closeJane
Sent from my iPhone
Maybe you can sleep now Jane :)
Thanks again Jackson.
- JaneJordan1Community Member
Leslie 6am not time to get up now - it was worth it thanks guys
Haha! I know the feeling. Glad you have a great start to your day!!
- ChristiePollickCommunity Member
Great work, Jackson, and thanks so much for helping Jane get to where she needed to go! :)
- JaneJordan1Community Member
Hi five to all of the great help you guys give the community - no question is too silly and all questions are answered.
Well done and thank you
Sent from my iPhone
- ChristiePollickCommunity Member
How kind of you to say, Jane, and we think this community is something really special, too! We're so fortunate that everyone generously contributes their various skills and experiences to benefit one another and help everyone succeed... pretty darn cool, if you ask me! :)
- JacksonHamnerCommunity Member
Hey Jane,
Unfortunately I don't know of a way to interact with the storyline player in that way. To my knowledge its not possible to really interact too much with the built in play/pause button, seekbar, etc.
- JaneJordan1Community Member
Yep thought so
Sent from my iPhone
- ChristiePollickCommunity Member
Many thanks for the follow-up, Jackson! Hope that answers your question, Jane, or perhaps others could share some insight if they have an idea you could try. :)
Hi Jane! Glad that Jackson was able to assist you up until this point :)
Thank you Jackson! Great thread for others in the community as well.
- ChristiePollickCommunity Member
Hi, Jane -- Unfortunately, as it appears you replied via email, your image/screenshot did not come through to the thread. From within the thread itself, all you will need to do is click on the 'Insert an Image" icon (highlighted in the screenshot below), or you may use the ADD ATTACHMENT button in the bottom left corner. Hope that helps! :)
Hi Jane! Yes, that warning is due to viewing locally. I would advise to test in the intended published environment. If you are not ready to load to your LMS, you could utilize SCORM Cloud if you wish.