API Rerences for interactive websites
4 min
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