Turn off 'autoplay' on embedded(event) video when it has no playbar skin
Hi, I'm working on a responsive project in Captivate 2017 and I have a slide with an embedded video that I'd like the user to be able to control with external play/pause buttons other than the ones in the video skins. I followed along with this video - Control Event Video with JavaScript | eLearning (great video btw). Everything is working well, except I'd like the video to be paused when the user enters the slide. I have the video skin set to none as I don't want that showing, but I'm noticing that when you don't set a video skin it won't let you uncheck autoplay. So I tried adding -
document.getElementsByTagName("video")[0].pause();
to the onEnter execute javascript action I created, but it doesn't seem to have any effect.
Any ideas or advice would be much appreciated!
