user
@chris1
problem with transition on Full screen widget
Hi
I am attempting to use the widget in my Storyline 3 presentation but I can't get it working consistently. It works on one slide then I click next and it doesn't work. Then I click next and it does work. And so on. I've even started a clean storyline project and it still works on every second slide. Maybe I have input the wrong javascript? This is what I am using:

if(void 0===window.stencilfullscreen){window.stencilfullscreen=!0;var player=GetPlayer(),xhttp=new XMLHttpRequest,targlink="https://cluelabs.com/stencil/display/widget-full-screen-display?chart=MjR8MzE4fDgzYzU3YTQ4NmIzNjU4ODk4Mzc1MDY5ZTBlYmVlZTE5";xhttp.onreadystatechange=function(){4==this.readyState&&200==this.status&&""!=this.responseText&&(eval(this.responseText),player.SetVar("stencilrendered",parseInt(player.GetVar("stencilrendered"))+1))},xhttp.open("GET",targlink,!0),xhttp.send()}
FullscreenMode('player');
FullscreenMode('none');

I've tried adding a trigger on every single slide. And on the master slides but it still won't work. The first slide never seems to execute the script.

I can send you the simple four slide test file if you want to see what I mean.

Thanks
Chris
reply
Reply
user
@support
Hi Chris. In some browsers, such as Chrome for example, if you are already in the full screen mode, and you request full screen again, the browser will exit the full screen instead. It sounds like you're requesting a full screen on each slide. But because when reaching the second slide you're already in full screen, you are taken back to normal mode.

The proper way to implement this would be to not request a full screen mode if you're already in full screen. You can achieve this by using the variable infullscreen. It's described in step 8 of "How to use..." instructions:

If you want to check whether the course is currently in full screen mode, create a blank variable infullscreen. When in full screen, its value will be set to yes, otherwise it will be set to no.

For example, if you add a trigger to go into full screen only if the variable is equal to "no" then you won't have the overlapping requests.
reply
Reply
user
@chris1
Hi
Thanks for your prompt reply. I am a javascript idiot and do not understand what you said about the variables. I'm not even confident what I put in the javascript exe was correct. But I did try to remove the trigger from every page but the first one - same problem. I removed it from every page but the main master slide - same problem. I get what you're saying but it doesn't explain why the first slide isn't going to full screen. Can you please check that I added the FullscreenMode triggers correctly? And show me how to add an infullscreen variable. Your instructions might make sense to a javascript adept but I'm just an average Storyline user.
Thanks
reply
Reply
user
@support
:) no worries. Just upload your .story file using WeTranswer or Dropbox and post the link in a reply below.
reply
Reply
user
@chris1
Hi. Thank you. The very basic storyline 360 file is on Dropbox with this link:
https://www.dropbox.com/sh/3613t55bgxc7ksn/AAB70OpDwE-eXd9ucWAZSWX4a?dl=0

Thanks again
Chris
reply
Reply
user
@harshad
Hi Cluelabs Support

I am facing the same issue as Chris. I added the script to the Master Slide. It works for every alternate slide, when published. I have uploaded my source at the below link. Kindly assist.

https://wetransfer.com/downloads/8efcb84664da8b3e89b41abf5c19c56320191127081514/511e54143b004ab462b25d9fabac078320191127081514/bcd60f

Regards,
Harshad
reply
Reply
user
@harshad
Hi Cluelabs Support

I am facing the same issue as Chris. I added the script to the Master Slide. It works for every alternate slide, when published. I have uploaded my source at the below link. Kindly assist.

https://wetransfer.com/downloads/8efcb84664da8b3e89b41abf5c19c56320191127081514/511e54143b004ab462b25d9fabac078320191127081514/bcd60f

Regards,
Harshad
reply
Reply
user
@harshad
Hi Cluelabs Support

I am facing the same issue as Chris. I added the script to the Master Slide. It works for every alternate slide, when published. I have uploaded my source at the below link. Kindly assist.

https://wetransfer.com/downloads/8efcb84664da8b3e89b41abf5c19c56320191127081514/511e54143b004ab462b25d9fabac078320191127081514/bcd60f

Regards,
Harshad
reply
Reply
user
@harshad
Hi Cluelabs Support

I am facing the same issue as Chris. I added the script to the Master Slide. It works for every alternate slide, when published. I have uploaded my source at the below link. Kindly assist.

https://wetransfer.com/downloads/8efcb84664da8b3e89b41abf5c19c56320191127081514/511e54143b004ab462b25d9fabac078320191127081514/bcd60f

Regards,
Harshad
reply
Reply