Forum Discussion
Storyline notify learners when they have lost internet connection
Please look at the demo I have created here: http://andersonelearning.com/demo/DetectInternetConnection-v1.0%20-%20Storyline%20output/story.html
I borrowed javascript code from this person's blog and modified it slightly. https://tutspack.com/internet-connection-detect-using-vanilla-javascript/
I have included the .story project file here. To add this to your project you can just copy the web object from my project to your Slide Master(off of the slide is fine), and add two variables two your project:
checkInternetStatusInterval - number variable, how often to check for Internet connection in milliseconds, default value is 5000 = 5 seconds, setting this number too low may cause false "offline" messages
internetStatusCheckResult - text variable, default value is "online"
Let me know if you have any problems with this and need me to make any changes.
(I had accidentally uploaded the wrong project file, but have corrected that now.)