So I have tried to make my course use this widget but I cant find out to make it launch when the course starts. I have tried everything I can think of but no luck. I noticed that someone had the same issue in another thread and support gave them a template file with it set up correctly but the link has expired. Can you please re upload.
Thanks for the help.
Murray
Reply
Posted on 3/6/2022
Please type your reply.
@support
Hello. Please feel free to upload your file that does not work, we will take a look. You can use WeTransfer, Dropbox, or another similar service and post the link to the file in a response below.
Reply
Posted on 3/6/2022
@murraysinclair3
Thanks, here is the link - https://we.tl/t-jiCMtpGGw1
Reply
Posted on 3/6/2022
@support
Your file looks good, but there are a few things that need attention:
On slide 1, going into full screen mode 1 second after the initialization code is called is probably too soon because it's unlikely that the widget will finish loading in 1 second. So when you call it, it's not yet ready, that's why it doesn't go into full screen. A better option would be to monitor the variable stencilrendered.
As per the "How to Use..." instructions: If you need to track from within the learning course whether the widget has loaded, create a variable stencilrendered and set its value to 0. Once the widget loads, the value will increase by 1.
Also, calling full screen when Next is clicked is a questionable technique. If you are already in full screen and call it again, most browsers will interpret this as a request to exit full screen, so you'll get the opposite of what you're trying to do.
Reply
Posted on 3/6/2022
@murraysinclair3
Thanks for the reply.
I am sorry but I am still having issues. I have added everything you have mentioned but it will still not launch full screen when the course starts.
If possible I would appreciate if you wouldn't mind simply editing my file so it will go full screen on launch that way I can look at how you have it set up and replicate it through our other courses.
This would be appreciated as we are looking to roll out this plugin through all our e-learing courses but I cant get it working in my example.
File is here if you would be so kind - https://we.tl/t-xuXH1mW3Ye
Reply
Posted on 3/6/2022
@support
Here's the file showing the proper way to implement the widget: https://we.tl/t-FutCCn107U (see the triggers on the Master)
Note that even though there is a call to go into full screen as soon as the widget loads, most browsers will not grant it since this it's considered a bad user experience. But when initiated by the user (e.g. clicking the full screen button) the module should go into full screen on all modern browsers.
Reply
Posted on 3/6/2022
@stetod58
Hello,
I have the same problem!
I have been using Storyline 360 since 2012 and up to now I have also programmed some features myself in Javascript.
By chance I crossed your site looking for an update to the need to launch slides in full screen especially on mobile devices!
I had also found some code solutions to add to the .html file, but obviously they don't work the same way in all browsers!
I tried trying to use the full screeb feature following your clues but it didn't work!
These are the steps performed:
01 - creation of storyline files with a single slide by inserting an image
02 - I set the player to Scale player to full browser window
03 - I created an Execute Javascript trigger when the slide timeline starts
04 - I pasted the code I want published in full-screen functionality
05 - later I pasted the launch of the FullscreenMode function ('slide') in the same trigger on the next line;
06 - I published the file and uploaded it to the server
07 - no key is published in the publication as on the contrary displayed in the demo!
08 - i tried to put the function in a second javascript trigger, but no difference!
09 - if I try to preview the trigger launch is intercepted!
Where am I wrong?
Reply
Posted on 3/6/2022
@support
Hello. Step #3 is your issue "I created an Execute Javascript trigger when the slide timeline starts" – most modern browsers won't allow going into full screen without a user's action because doing so would be detrimental to the user's experience on the web. If you change that trigger to "when user clicks" that should do it.