Lightbox automatically reopens when with seekbar
Nov 14, 2015
Hi,
I have setup a video on a slide using the player seekbar. I've added a trigger to open a lightbox when the timeline reaches a certain cue point. The lightbox opens as expected and the video resumes when the lightbox closes. All is fine up to there. The only problem is that when returning to the video, if I click on the player seekbar to jump forward or backward, the lightbox reopens automatically.
I have tried calling the lightbox going a layer instead (lightbox slide on timestart of layer) but the same problem reoccurs. The lightbox keeps popping up.
Would anyone have a clue what I'm doing wrong or any woraround ?
Thank you
Tina Marie
18 Replies
Hi, I have the exact same problem here !
Hi Tina and Phillipe!
Is the seekbar going back to the 'time' that the lightbox should be appearing? Would you not expect this behavior? Would changing the seekbar to read-only assist in this case?
Or are you saying that it is unexpectedly popping up?
Do either of you have a .story file that we could take a look at to better understand?
Hi Leslie, and thank you for your answer.
The seekbar isn't going back to the 'time' the lightbox should be appearing.
If I change the seekbar to readonly, the problem is avoided (of course) because it can't be triggered.
I made a story file explaining the problem.
I also tried to set variables to prevent lightbox openning. But it was a failure :
Say I want to open the popup only when the media reaches 10s.
But this doesn't work as expected, the triggers are always executed in the timeline order first.
So when I click at 15s, in the seekbar, the events are all executed from 0s to the clicked point :
Thank you.
Hi Phillipe!
Why not use a layer for what you are trying to accomplish here? You can set a simple true/false variable so that the layer does not re-appear and pause the base layer as well.
Sample attached.
Hi Leslie,
Thank you for your answer.
In your example, when I click later on the seekbar, the layer still appears anyway...
Oh no! Let me take another look. I did not see that behavior.
Hi Leslie,
I'm sending you my file. Your troubleshooting will greatly be appreciated.
I've randomly posititonned my cue points at the beginning of the video for ease of troubleshooting, it's a demo. We've considered using layers but having to insert quizzes that option has been put aside. We want to use SL quiz functionnalities.
You will notice that travelling in the seekbar makes the first lightbox pop-up automatically. Having a read-only seekbar is not an option we wish to consider, we want the learner to go back and listen any video sequence they wish without having to start all over.
Thank you for your assistance
Hi Phillipe!
I still did not see the issue you were reporting with the file that I shared with you, but after looking at Tina's file, I went back to your original approach and added a simply true/false variable. Note: I did change the time to 2s to make testing easier :)
Hi Tina!
I took at look at your file as well and added a couple of variables on the lightboxed slides along with conditions on the triggers to the lightboxes. Your file is attached.
Hi Leslie,
Maybe I have been misunderstood but I'll try to be clearer :
what i want is that the popup shows when the video reaches 2s only and always
In your example, once the popup has been shown, it doesn't show anymore AND, again, if I click at 10s on the seekbar, the popup appears...
Attaching a video of what I'm seeing. Please tell me what I can do to replicate what you are reporting.
Hi Leslie,
I had a look at your file and video. We want the learners to be able to go back and review as they need. The problem I see for us is that the lightbox will only open once unless the variables are being reinitialized. When media completes perhaps. But yet that doesn't sound right to me. We should allow them to review a lightbox content just anytime. Also, it does add quite a lot of trigger programming depending on the number of lightboxes. At this point, the use of lightbox doesn't seem to be an option. We may as well work around it and build custom quizzes. I still don't understand why seekbar and lightbox won't work together. Sounds like a bug to me. Would you have any other suggestion? Should we open a ticket about this issue ?
Thank you for your assistance.
Hi Leslie,
In the video you posted, if you click on the seekbar somewhere after the cuepoint, the popup shouldn't appear (even if the popup hasn't been triggered yet)
And then, if you do exactly what you did, around 0:20 il your video, the popup should appear when the seekbar reaches the cuepoint.
That is what I need.
In short, I want to be able to use the seekbar but the lightbox should appear only when the timeline reaches the cuepoint and not when i click on the seekbar (unless I clicked exactly on the cuepoint...)
Thank you for your time.
It would be best to integrate this with the actual slide timeline for full control outside of variables and triggers then.
Perhaps others in the community may have some suggestions.
I know this post is a little old, but I found a pretty good workaround for this issue. Instead of triggering when the timeline reaches a certain time, I've added invisible cue boxes (orange lines in this case to illustrate) for a duration of .25 sec at the points I want the lightboxes to appear. The trigger is then to lightbox the slide when the state of the shape is normal. You can then scrub the timeline around at will, though if you get too close to those points, there may be some overlap of lightbox over video.
You can then scrub the timeline around at will, though if you get too close to those points, there may be some overlap of lightbox over video, instead of the expected pause (if that's what you are going for).
I'm guessing that using the "when timeline reaches x" condition does not work because when you scrub the timeline, it is considered that you are triggering all times previous to that point as well.
It's never to late to share a good solution Bill :) I appreciate you popping in to share.
Hello Bill,
Just wanna thank you for your help.
You solved the issue.
Regards,