API Rerences for interactive websites
FusionSignageInteractive.resetInactivityTimer(event)
Purpose: Notify the signage player that the user is still interacting with the content. This prevents the player from transitioning away due to inactivity.
Usage: Bind this method to your site’s interactive elements (e.g., mouse clicks, keyboard events, touch interactions).
document.addEventListener('click', FusionSignageInteractive.resetInactivityTimer);
Parameters event (present automatically): The DOM event triggering the interaction. If the event target’s ID is on the ignore list (see below), the reset is skipped.
FusionSignageInteractive.setIgnoreResetInactivityTimerEventTargets(arrayOfIds)
Purpose: Specify which element IDs should not trigger a reset of the inactivity timer
Usage: FusionSignageInteractive.setIgnoreResetInactivityTimerEventTargets(['submitButton', '...']);
FusionSignageInteractive.invokePlaylist()
Purpose: Exit the interactive website and resume playing the assigned playlist
Usage: FusionSignageInteractive.invokePlaylist(); (For example, you may want to immediately return to the regular signage playlist after)
Looking for something else?
We can’t wait to hear about it. Reach out to our sunshiney support and we'll be in touch in a flash.