Adding Audio into Layers

Jun 07, 2019

Hello. I am wondering if there is any way to add audio files into a layer in Storyline. If not, I think this might be something for Articulate to think about in future updates. 

3 Replies
Adam Zamczyk

Hi Remzi, 

you can have a layer with the audio file only, in fact, this is a nice and simple way to have the audio and show the layer if conditions are met. 

I used to use this method to enable or disable Voice Overs, but now I prefer to use a simple javascript code and few triggers to enable and disable audio at any point
this is the code:

----
if (document.location.href.indexOf('html5') < 0) { 
var player = GetPlayer(); 
player.SetVar("muteToggle",true); 
} else { 
var appState = require("helpers/appState"); 
appState.onToggleVolume();//mute  

-----

 

 

This discussion is closed. You can start a new discussion or contact Articulate Support.