Audio hidden from DOM.

Jun 16, 2021

I have an issue that I am hoping someone has an insight to.

I have a course where there are som audio involved. I need to be able to access said audio throught some javascript triggers. 

When I export for web and run it locally, it works fine, through the code var audio = document.getElementsByTagName('audio')[0];

But when I upload it to an ftp-server, an run it online, the audio is hidden from the DOM-structure. I searched the DOM structure in the Chrome console, and couldn't find it either. 

Any ideas? 

5 Replies
Snorre Rubin

I am using Storyline 360. The problem shows up whether I uses "Audio from file..." or "Text-to-speech". And weirdly enough only shows up when uploaded, not when run locally.  

Below are two screenshots, both of the same module. 

First is run from a server, second locally.