Special actions

Hi everybody.
Is it possible in tutorial mode when the project is viewed with computer to have the TOC, and automatically when viewed with smartphone or tablet without TOC and fullscreen?
Using the options of the player seems that is not possible. Usign the predefined actions is not possible too. Maybe with the advanced actions?
Thank you in advance to anyone can help.
Stefano

Hi Stefano,

You can add script to ActivePresenter > Project > Properties > Event to check if it’s a mobile device and hide the TOC.

function isMobile() {
  // define how a device is mobile here, you can use a 3rd JavaScript library
  // for simplicity, I just check screen size
  return Math.min(screen.width, screen.height) < 700;
}
if (isMobile())
  prez.showSidebar(false); // suppose that TOC is on sidebar

Regards

Thank you very much. I’m going to test it immediately.
If i wanto to go fullscreen on mobile, what is the method i have to use?
In the manual i haven’t seen nothing that could do this.
Thank you

Hi Stefano,

Fullscreen request must be initiated by a user action (e.g. tap, click), so there’s no way to go to fullscreen on mobile automatically.

Regards