Closed HumbleHominid closed 7 years ago
inputCallback
was being called after the onSelectedCallback
causing the video to start playing and then having the timer reset immediately afterwords.
So you’re saying the call to inputCallback was not necessary?
~Alex
On Jul 14, 2017, at 1:00 PM, Michael Fryer notifications@github.com<mailto:notifications@github.com> wrote:
inputCallback was being called after the onSelectedCallback causing the video to start playing and then having the timer reset immediately afterwords.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://github.com/sciencemine/digital-signage/issues/99#issuecomment-315440636, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ANkKuT4rhcml3OTbuPtK5dSk-OaL0SOLks5sN7qygaJpZM4OYmty.
It probably isn't necessary, for what we are using at least, to be calling the input callback on a select event. However, it might be in the future for some reason. To allow for future proofing I altered the order in which the callbacks are being initiated.
An idle timeout is being started when a new video is selected to be played causing only the first 15s to be played before it resets back to the background.