Takes a while to get it to work if so if it doesn't make sure you location name variable is with a lower case l so location not Location and make sure the default value in the variable has forward slashes and has a forward slash after your folder reference so - story_content/WebObjects/your folder reference/ do not use back slashes eg story_content\WebObjects\your folder reference\ T o get it toi run without needing a button click add the following in the Execute Javascript script after the final } var player = GetPlayer(); this.Location= player.GetVar("location"); var audio = document.getElementById('bgSong'); audio.src=Location+"YOUR FILE NAME.mp3"; audio.load(); audio.play(); Hope that helps
@@diegolopez7657 Aw man I cannot get this to work for the life of me. Wondering how you were successful with these steps? I can't get the audio to play with or without the button.
Thank you for this video. If i need to create a button that will play a sound effect when clicked and at the same time it has also to look like clicked. it can be clicked many consecutive time even the sound effect didnt finish yet. for example like a piano key, we can click it as much as needed sequentially and when clicked give it a bit of highlight. is it doable on storyline?
@Meeesh12: Be sure to click on File Name Extensions are being displayed. Once you do that, as son as you try to change the .txt to .html, it will prompt you to convert it
@@iouliakornberg1485 there is no prompt for that, everyone is having the issue but you I'm assuming. The point is the video makes it look simple, however, everyone isn't getting that popup to convert
I know this is super late but I ran into the same issue. all you have to do is disable "hide extensions" in the view settings in file browser. just google how to do that and you'll be fine.
Hi! I just figured out a way around this. Open the document and click "save as." From there, change the file name to index.html and use the drop down menu directly below the file name to change it from "Text Documents" to "All Files" and that should work. Hope that helps!
You can find posts dating back 9 years on internet forums asking for this to be a built-in feature. It still isn't. And the software costs like $1,000 for a normal plan LOL.
lmao it really is embarrassing reading the forums for articulate. as a lifetime premiere pro user (i know they're different softwares with different goals, but still, video editing and course building are similar when it comes to how it works), and working with articulate for a couple years, seeing the forum with people asking for stuff like 5 years ago or features that the devs "added to the wishlist" a decade ago and the program is still the same.... honestly embarrassing, ive consistently seen more often, normal people fixing eachn other's issues than articulate employees actually helping anyone
This is not working, I've tried several times, new files eachtime, and recheck and doesn't work at all, wish you add the testing in the video so we could see it working. Perhaps because an update or something, this video has few years; this is the first time that something you teach on a video doesn't work for me :/
This doesn't work for me I'm using storyline 360, when I type index.html and press enter it does not give me the popup window you are getting, it just saves the file so unfortunately, I have to give this video a thumbs down.
Hi! I just figured out a way around this. Open the document and click "save as." From there, change the file name to index.html and use the drop down menu directly below the file name to change it from "Text Documents" to "All Files" and that should work. Hope that helps!
THANK YOU!
This works if you set location not Location as the variable. Thank you!
Takes a while to get it to work if so if it doesn't make sure you location name variable is with a lower case l so location not Location and make sure the default value in the variable has forward slashes and has a forward slash after your folder reference so - story_content/WebObjects/your folder reference/ do not use back slashes eg story_content\WebObjects\your folder reference\
T o get it toi run without needing a button click add the following in the Execute Javascript script after the final }
var player = GetPlayer();
this.Location= player.GetVar("location");
var audio = document.getElementById('bgSong');
audio.src=Location+"YOUR FILE NAME.mp3";
audio.load();
audio.play();
Hope that helps
WOW DUDE YOU JUST MADE MY DAY !!! IT WORKED FOR ME THANK U SO MUCH !!
@@diegolopez7657 Aw man I cannot get this to work for the life of me. Wondering how you were successful with these steps? I can't get the audio to play with or without the button.
Thank u thank u thank u!!!!
This is excellent! Helped me resolve the issue.
You have covered everything I wanted to do with Storyline. Thank you so much!
Hi Mark, I've tried this and can't get it to work. What am I missing?
Hi Mark, is there a way to make the music play automatically when the course loads? And not by button click?
see my comment above! Hope that helps.
of course we have option any plays IE and Edge browser but it doesn't play only in chrome.
HI, could you add a small storyline project here with this bg music actually working? I can not get mine to work.
Thank you! This is helpful.
Thank you for this video.
If i need to create a button that will play a sound effect when clicked and at the same time it has also to look like clicked. it can be clicked many consecutive time even the sound effect didnt finish yet. for example like a piano key, we can click it as much as needed sequentially and when clicked give it a bit of highlight. is it doable on storyline?
I have tried this numerous times and it does not work for me. Any other ways to get this done?
dis not work for me as well...i dont know what's wrong
Thanks so much, I'm looking for it:)
where to get the script from your notepad?
Hi Mark, I don't see note JavaScrift in exucute JavaScrift. How can I get it?
How to play audio after my 4 button tab activities clickable
hii i want to quest . how to get scrip notepad ??
Windows did not ask me if I wanted to convert my text file to an HTML? What should I do in that case?
Hi which publish format are you using?
@Meeesh12: Be sure to click on File Name Extensions are being displayed. Once you do that, as son as you try to change the .txt to .html, it will prompt you to convert it
@@iouliakornberg1485 there is no prompt for that, everyone is having the issue but you I'm assuming. The point is the video makes it look simple, however, everyone isn't getting that popup to convert
I know this is super late but I ran into the same issue. all you have to do is disable "hide extensions" in the view settings in file browser. just google how to do that and you'll be fine.
@@mejiasfilms2260 this worked thank you!
ya it doesnt work for me either, after saving the index file i have no options to change extension
Hi! I just figured out a way around this. Open the document and click "save as." From there, change the file name to index.html and use the drop down menu directly below the file name to change it from "Text Documents" to "All Files" and that should work. Hope that helps!
most of the comment here says..this solution is not working...
Didnt work for me either
doesnt work for me
You can find posts dating back 9 years on internet forums asking for this to be a built-in feature. It still isn't. And the software costs like $1,000 for a normal plan LOL.
lmao it really is embarrassing reading the forums for articulate. as a lifetime premiere pro user (i know they're different softwares with different goals, but still, video editing and course building are similar when it comes to how it works), and working with articulate for a couple years, seeing the forum with people asking for stuff like 5 years ago or features that the devs "added to the wishlist" a decade ago and the program is still the same....
honestly embarrassing, ive consistently seen more often, normal people fixing eachn other's issues than articulate employees actually helping anyone
This is not working, I've tried several times, new files eachtime, and recheck and doesn't work at all, wish you add the testing in the video so we could see it working. Perhaps because an update or something, this video has few years; this is the first time that something you teach on a video doesn't work for me :/
could it be becuase only works when uploading to LMS?
It doesn't work.
Hi,
I am unable to play BG music in 1 slide
This doesn't work for me I'm using storyline 360, when I type index.html and press enter it does not give me the popup window you are getting, it just saves the file so unfortunately, I have to give this video a thumbs down.
Hi! I just figured out a way around this. Open the document and click "save as." From there, change the file name to index.html and use the drop down menu directly below the file name to change it from "Text Documents" to "All Files" and that should work. Hope that helps!
It doesn't work.