Copy link to clipboard
Copied
Hi How can you put AutoPlay on HTML5? I still have to click on an arrow, so that the content starts. With Flash was not a problem ... Regards Chris
Copy link to clipboard
Copied
Could you please add a screenshot of the location of cp.movie.play()
I tried adding it as you mentioned but the movie doesn't load anymore it just sits there with the loader spinning.
Copy link to clipboard
Copied

Copy link to clipboard
Copied
Thanks a Million
Works like a charm
![]()
![]()
![]()
Copy link to clipboard
Copied
The good news is that this works. The not-so-good news is that it blows by the invisible checkbox I inserted with the "Pause project until user clicks" option, meant as a way of stopping the timeline. I had the checkbox enter after 1 second, to eliminate conflict with the code, but the slides advance, anyway.
Copy link to clipboard
Copied
I know this thread is getting old but I'm hoping someone still gets messages from it...
I got the CP movie to play automatically on mobile but I'm not getting audio with it. Any suggestion to get the audio to play? When I had to tap the play button to run the CP on mobile, I got everything but now that it plays automatically, there's no audio. Thanks for any help!
Copy link to clipboard
Copied
Same here. Removing the play button using the method above breaks any video functionality in my particular project. There has to be a better way.
Copy link to clipboard
Copied
@Randall Fujimoto - Wonderful! Thank you so much!
Copy link to clipboard
Copied
Hi,
the cp.movie.play() is working fine, but unfortunately it does not handle the re-open of a course.
The LMS is sending the data that a user can enter directly the last slide.
But when I add the cp.movie.play() in the cpInit(); it is not using the last progress.
Any ideas?
Copy link to clipboard
Copied
Thanks Kurrykid for the detailed workaround. I have Captivate 8 and am having this problem as well, but I think my LMS (Docebo), being over-zealous about security, strips out the window.cp script object. So I can't just use cp.movie.play();
I'm hoping there's a way I can use HTML5 so that I can avoid Flash for mobile devices, but I'm finding that in Chrome, HTML5 can't be made to autoplay, in Firefox, it throws up the Unsupported Browser box (disabled this with $("#CPUnSupportedBrowserWarning_ID").remove();)
I don't mind editing code a little, but I need some kind of workaround: my users aren't going to know what to do. I was originally hoping to have my own simplified buttons on each slide but I don't see a good practical way around the default playbar.
Can anyone from Adobe chime in on this issue? I would like to see if I can verify that the LMS is stripping out Javascript in the SCORM file. Thanks so much for any help!
Copy link to clipboard
Copied
Put an alert('hi'); into the javascript, you will see if the javascript is being run or not then
Copy link to clipboard
Copied
Hi windscorpion thanks so much for responding - Javascript is working, it's the window.cp object that is getting stripped out. Sorry, I shouldn't have made it sound as if ALL js was getting removed. ScormCloud LMS lets me interact with window.cp, but not Docebo.
Does anyone know an alternate way of getting that movie to play without access to the cp object? Thanks again
Copy link to clipboard
Copied
All you have to do is open the index page in a text editor and add this little code snippet:
cp.movie.play();
}
below this:
cpInit();
It will work on all IOS devices.
Copy link to clipboard
Copied
On CP 9 HTML5 published, Changing:
cpInit();
initialized = true;
}
To:
cpInit();
cp.movie.play();
}
Works but there is no audio.
Copy link to clipboard
Copied
Thanks.
I am using Captivate6 & my project also includes audio as well. So can anyone please help me with this scorm bookmarking issue.
Copy link to clipboard
Copied
Hi, i have try this code:
If you want autoplay with HTML5, edit index.html and find function DoCPInit(). After CPPostInit(), add the lines
CPPlayButtonHandle("onkeydown");
cp.movie.play();
its working fine. But now i am facing issue with SCORM bookmarking. When i am re-login the LMS, i am not able to view last visited slide where i left course last time.
Please help me on this issue.
Thanks
Copy link to clipboard
Copied
Autoplay in HTML5 was resolved with Captivate 9, I believe. Until then, the solution I provided above was working OK for us. I think Docebo was being overzealous about security during one of its releases but it also seems to be OK at this point.
As far as bookmarking is concerned, I haven't had any trouble with that in SCORM. My LMS has finally started supporting Tin Can (xAPI) and bookmarking doesn't seem to work in THAT.
Copy link to clipboard
Copied
This thread is 5 years old and the issue is still here (v11.1.0).
And today the fix in this thread is not working anymore because all the JS files are now minified.
I understand that it was like that because of a 'restriction' on iOS that implied the user to explicity do an action for the sound to play. But today it doesn't seem to be the case anymore.
Does anyone know how to fix it now?
Copy link to clipboard
Copied
Play button worked for our company so far. But this problem is moving to desktop and Captivate is not ready for this.
Read these:
Auto-Play Policy Changes for macOS | WebKit
Work arounds for the Safari 11 no-automatic play problem?
Workaround for Safari 11 Update
And Chrome did or is doing the same.
Autoplay Policy Changes | Web | Google Developers
chrome://flags/#autoplay-policy
chrome://media-engagement/
Get ready! An upgraded Adobe Community experience is coming in January.
Learn more