Hmm. I’d imagine a persistent video would keep playing no matter where it was! I wonder if it’s set to autoplay on load? Maybe that’s toggling the playback.
ANYway, here’s something you might want to try. I’ve set up a symbol set that shows a decreasing time-o-meter, with a timeline action at the 60-second mark that kicks the user to a ‘time’s up’ screen. (Passcode is still the same. )
The problem here - and it’s a bit of a PITA - is that moving from scene to scene does not unload the symbol of the animation bar, even on scenes where it is not present.
What this means in practice is that if you enter the correct code, and are moved to the ‘correct!’ scene, after 60 seconds you will still be kicked out to the ‘time’s up’ screen. I’ve tried telling Hype to pause the timeline on the symbol instance, but it doesn’t seem to respond. This is what we in the programming world call a bug. That, or I’m doing it wrong, which is also possible.
The workaround for that is to unload the entire Hype file, I fear, by sending the user to another URL entirely. Of course, if that was your purpose all along, well … mazel tov.
keypad_with_bar.hype.zip (94.8 KB)