Forum Discussion
Adding a timer into rise to ensure a minimum amount of time is spent on each lesson
Hi JohnCooper-be3c. Thank you for the Rise timer demonstration. I used it as a guide to create one similar. I am wonder though, how your timer continues to run when the user scrolls past the block. My timer is stopping when the block is not on screen. I find it interesting that a video can continue to play when not on screen but the storyline block timer cannot. Would you happen to have any insight on how to keep the timer running as the learner completed the all content below the timer block?
Hi JoshuaStape
I don't really know the answer to your question - as you say, my timer blocks continue even after you navigate past them in RISE on the screen. It may be something to do with the way the timers are created. They don't use JavaScript, as some of my other 'real-time' clock demos do. They use two key layers - each layer is one second in duration - at the end of the timeline on the first layer it decrements the clock, shows the other layer and hides itself. The second layer does the same thing. So the two layers are constantly passing control to each other until the time reaches zero. The Storyline Block is continually running. I don't know how RISE decides that a Storyline block has ended. Maybe someone else can elighten us?
- JoshuaStape2 months agoCommunity Member
Thank you for the quick response JohnCooper-be3c! Could any of the staff StevenBenassi JoseTansengco LeaSAgato help us understand how RISE decides to not allow a storyline block to continue when it is not on screen, but allows a video to play when it is not on screen?