Forum Discussion

LeeMillard-d77f's avatar
LeeMillard-d77f
Community Member
2 years ago

Bypass Play Button At Start of Module

Hello! I wanted to ask the community if anyone has a way of bypassing the play button (the one with the black overlay with white play button) at the beginning of a module that has audio on  the first slide. I have tried adding a "dummy" slide before the first slide that does not include audio and will auto-advance via a trigger, but I am having no luck with that.

When I open the browser's developer console on that screen, I did find I could enter:

document.getElementById("mobile-start-button").click();

and it will simulate a click. My problem is, I do not know where I should add this line of code in the published output.

Any help and advice would be greatly appreciated! Thanks!

  • all modern browser don't allow autoplay of audio/video (with audio) without a real user click*

    that's what the play button is for - if it's not necessary it doesn't show up. Storyline tested this with a silent audio, if an internal error occurs the button shows up (only then it appears)

    you can "design" the slide with the play button  -> Player -> Cover Photo + Fill player frame

    * "document.getElementById( ... ).click();" is not a sufficient click