Skip to main content
Participant
Mar 26, 2014 3:29 PM UTC
Question

Captivate Fullscreen HTML5 Solution - Free

https://elearningenhanced.com/products/adobe-captivate-fullscreen-html5-solution

Michael already has a great Full Screen Widget for Adobe Captivate (Free) on CPGURU.com.


We wanted to find a solution for our HTML5 output. We didn’t take the time to turn this into a widget because really all we are doing is firing some JavaScript to make the magic.


In the download you will find a Captivate cptx file that includes the JavaScript.

We also built an Advanced Action to determine if the HTM5 Full Screen button should be displayed. This Advanced Action runs a bit of JavaScript and sets a CP variable accordingly. Then if the course is being viewed as HTML5 we show the button.

This topic is closed to new replies. Start a new post to keep the conversation going.

7 replies

thomasc8498188
Participating Frequently
May 21, 2019 2:37 PM UTC

Link bad....

Translate
RodWard
Community Expert
Community Expert
May 21, 2019 3:14 PM UTC

Thread old...

Translate
Armando.Perez
Participant
Feb 27, 2017 7:26 PM UTC

The option that worked for me was putting a button with this javascript code:

var docElm = document.documentElement;
if (docElm.requestFullscreen) {
  docElm.requestFullscreen();
}
else if (docElm.mozRequestFullScreen) {
  docElm.mozRequestFullScreen();
}
else if (docElm.webkitRequestFullScreen) {
  docElm.webkitRequestFullScreen();
}

Translate
floriank38625530
Known Participant
Dec 14, 2017 2:36 PM UTC

Hi Rodolfo Perez,

thanks for the code. Works very well, but not on iPad and iPhone. Is there a solution for that devices?

Greetings

Flo

Translate
Inspiring
Jun 17, 2015 4:49 PM UTC

Is there any way you could copy and paste the code here? I've tried copying it from your YouTube video, but the code isn't working for me in Captivate 8 Responsive and I can't find the mistake.

Thanks!

Nathalie

Translate
Inspiring
Jun 11, 2014 2:51 PM UTC

This is a great solution for going full screen and I'm currently using it on a responsive project in Captivate 8 to great effect - so thank you so much for posting.

One thing I have noticed however, is that the code doesn't work on iOS devices (iPad and iPhone). Is there any extra code that is required to make it work on these devices?

Thanks

Translate