Forum Discussion
Easter Quiz - Button state problem
Hello everyone,
I have a small question mark in my head right now. I am sure i have done this before, but somehow forgot about it.
I'm planning an Easter puzzle in Storyline. I have six eggs on a start slide, you click on an egg and land on a separate new slide. An external web video is integrated there (from a cooperation partner, there was no other way). I would like a button to be clickable only after the video has been played completely. So I have integrated a timestamp that sets the status to Normal. Clicking on the button takes the user then back to the start page. The egg on the start page now also has a new status and contains a solution letter.
The problem:
If the person clicks on the same egg again (actually they shouldn't, but it's possible) they get back to the slide and I want the button to be available immediately and not only after the whole video has expired again. Which trigger or slide setting can I use to do this?
Translated with DeepL.com (free version)
2 Replies
- NedimCommunity Member
How do you know when an external video is completed? To trigger a video completion, you can use a T/F variable (e.g., videoComplete) that is initially set to false. When the video ends, this variable changes to true. You should bind the state of your button to the videoComplete variable's value. Set the button to "Normal" when the timeline starts on a slide if videoComplete is false, ELSE change it to "customstate or disabled" (not sure what states you have available).
To ensure the button state updates immediately when the variable changes, create another trigger that sets the button state to "customstate" when videoComplete changes to true.
I’m just guessing here, as I don't know the actual slide setup in your scenario.- PaulSchlage-26bCommunity Member
Thank you very much for your help, I have managed it with a workaround. It's not completely idael but because it's time-critical, it works for now. :D
The T/F variable is a really good approach. I will try that out in a secon version. Thanks again for your help.
Best regards Paul