Variables to specify if the course is being watched on Tablet or Mobile Phone

Feb 01, 2024

Hi

Are there variable to specify if a course is being watched on a tablet or mobile phone and if it is in portrait or landscape?

I'm sure there would be plenty of uses for this but I'll describe my own scenario to clarify what I mean.

In most of my courses I include a slide that explains how to navigate the course and this includes an indication of where to find the CC button. However, the position of the CC button changes  if you are watching on a mobile phone. Where it appears in the bottom right on desktop and tablet, it is either bottom left (portrait) or top right (landscape) on a mobile.

I would like to use a variable that specifies the type of device and view so that I can change the instructions dependent on the variable.

Thanks in advance.

3 Replies
Tom Kuhlmann

Storyline doesn't offer that, perhaps there's a way to do something like that with JavaScript.

You could create a slide with a layer to represent the various modes and then have them self select and deliver the instructions that way.

Another consideration is to look the aspect ratio for mobile. For example, since Storyline slides scale and don't responsively reflow, it may make sense to lock it to landscape only. And that eliminates instructions for portrait.