Video and audio Autoplay doesn’t work in latest versions of Chrome.
I’ve been teaching Captivate classes in which we start with a video on the first slide of an exercise. In addition, I have audio on the slide.
When published to HTML5, it works well in the latest versions of IE, Edge, and Firefox (in Windows) but in Chrome, the video doesn’t start nor does the audio.
After investigating it in Chrome’s Developer Tools, I found the Console message:
Uncaught (in promise) DOMException: play() failed because the user didn’t interact with the document first.
It led me to an explanation about Google’s new policy as of April:
In short, it’s responding to users who complain that they dislike having videos and/or audio blast through their speakers the moment they go to a website. I’ve found this annoying as well, especially when working late at night.
Hitting the Reload button when the video/audio doesn’t start will then start over but this time with a play button the middle. Clicking that counts as user interaction so then video and audio start normally.
There is a way to make autoplay work. See
However, this would be made easier if the code, seen below, is included in the publishing template in the next Captivate update, so that we don’t have this problem when publishing in Captivate.
<!-- Autoplay is allowed. --> <iframe src="https://cross-origin.com/myvideo.html" allow="autoplay">
<!-- Autoplay and Fullscreen are allowed. --> <iframe src="https://cross-origin.com/myvideo.html" allow="autoplay; fullscreen">
Adobe, can you make that happen?