My presentation was created using Adobe Presenter and inserted via an iframe with autoplay enabled upon publication. This means that as soon as the page loads, the presentation begins automatically along with the audio.
Since I am unable to disable autoplay, I considered adding a play/pause button and utilizing JQuery to toggle a class between display:hidden
and display:block
in order to reveal and hide the presentation when needed. However, even when the iframe is hidden, the audio still initiates on page load.
Is there an alternative property in CSS that can completely remove an element and then restore it instead of just hiding it? Alternatively, does anyone have suggestions for how I can provide users with the option to start the presentation themselves?