Captivate responsive courses will not auto-play on browsers
May 3, 2018
Captivate responsive courses will not auto-play on browsers
May 3, 2018
Staff 69 posts
Followers: 61 people

Due to some recent browser updates, all modern web browsers have discontinued auto-playing media in web pages. Similarly, HTML5 and responsive courses created in Captivate will not auto-play. Autoplaying is not honored even after enabling the option Auto Play in Preferences > Project > Start and End.

While SWF videos will continue to auto-play, HTML5 and other responsive courses will not auto-play.

Even though auto-playing of media was not possible in devices, now the same behavior is extended to desktop browsers.

We recommend that you leave the Auto Play option disabled, since it does not get honored.

All Comments
Sort by:  Most Recent
Feb 10, 2022
Feb 10, 2022

I have tried this, But it didn’t work. Can anyone help on it.

Like
()
Jun 3, 2020
Jun 3, 2020

I tried with the cp.movie.play() command insertion but it messes up with the audio in the slides (the audio is not played). So I went back to un-check auto-play and insert an image in the box right after auto-play with a message “Captivate is silly, it wants you to press this play button”. I hope they solve this soon.

Like
()
Jan 10, 2019
Jan 10, 2019

I don’t understand this issue either. Simply adding cp.movie.play(); to the HTML file as indicated above totally resolves the issue. This is not a matter of browsers not allowing auto-play. I am using the latest version of Chrome, the latest version of Safari and the latest version of Firefox and with that simple code snippet, all of my media auto-plays. It’s concerning that Adobe is blaming someone else for a decision they made to adjust their code. This is not a browser issue.

To fix this Permanently with all html5 output files…

Navigate into your Adobe Captivate install folder.
Find and open the index.html file with a text editor like notepad.
Find the line of text (line 87 if you’re using an HTML editor) that reads: cpInit();
add a line after that line of code and type in cp.movie.play();

Note: If your initial slide has background music, there may be issues with it playing. If so, don’t worry. You can remove the line of code from your published file while leaving it intact in the template which will publish it for other projects.

Like
(1)
(2)
Apr 1, 2019
Apr 1, 2019
>
MICHAEL WILDAY
's comment

Adding that code did compromise the audio in my file. I added a blank slide in front with no audio but that didn’t help either. The scorm now starts playing but i can’t hear the audio. I couldn’t understand how to work around this. You said to delete the code from the published index file and I did but it didn’t work. Any ideas? Thanks!

Like
()
Apr 1, 2019
Apr 1, 2019
>
MICHAEL WILDAY
's comment

I added the code to the index file in the install folder and you’re right, it worked but now i can’t hear the audio. To work around this, I added a blank slide with no audio in front but that didn’t work either. You said to delete the code from the published index file and i did but no luck. How can I get may audio back and also auto start the scorm?

Like
()