1

Website refresh after last touch input

Hello everyone,
I am using a BightSign LS445 player to display an HTML5 website. This can be used via touch input.
However, I would like to set it so that approximately 5 minutes after the last touch input, the page is reloaded similar to a timeout event.
Is there a specific setting for this?

Thanks in advance. 

 

3 comments

  • 0
    Avatar
    Norman Till

    To implement a 5-minute inactivity reload on a BrightSign LS445, you generally won't find a single toggle switch in the settings; instead, you should use a simple JavaScript idle timer within your HTML5 code. By listening for touchstart or click events, you can reset a timer that triggers location.reload() after 300,000 milliseconds of inactivity. If you are using voyafinancial com BrightAuthor:connected, you can also achieve this without coding by setting up a Timeout Event on your HTML5 state: set the transition to target itself (the same state) with a 300-second timer, ensuring the "Reset variables/state" option is enabled to force the page refresh.

     

     

     

     

     

     

     

     

     

    Best regards,
    Norman T.

     

  • 0
    Avatar
    Justin

    Hello Norman, thank you for your answer. 

    In my case, it’s not a locally hosted website - I’m only using the BrightAuthor:Connected software. So I don’t have access to make any JavaScript adjustments.

    I’ve already configured a timeout event within BrightAuthor:Connected, but it triggers independently of any last touch input. That’s the behavior I’m currently trying to address.

    When I tried adjusting the Timeout Setting , the touch variable was still ignored, and the page would reload entirely every 5 minutes.

    Thanks in advance.

     

     

     

  • 0
    Avatar
    Steven Green

    You can handle this with JavaScript by tracking the last touch event and using a timeout to reload the page. Have you tried adding an event listener for touchstart and resetting a timer on each interaction? @fnf

     

Please sign in to leave a comment.