Audio hidden from DOM.

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