Lightbox automatically reopens when with seekbar

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
Phillipe Grandin
Tina Marie Lalonde

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

 

Hi, I have the exact same problem here !

Leslie McKerchie

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?

Phillipe Grandin

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.

  • I created a variable canopenpopup with default true.
  • I set canopenpopup to true when timeline reaches 0s .
  • trigger: show lightbox when timeline reaches 10s AND canopenpopup == true.
  • trigger: when timeline reaches 10.5s,  I set canopenpopup = false so that when I click later in the seekbar, the variable canopenpopup should prevent the lightbox from opening

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 :

  • 0s: canopenpopup = true,
  • 10s: lightbox can be shown so it pops in.
  • 10,s: canopenpopup = false (anyway lightbox did already pop...)
  • And the video keeps on playing in background... (other problem...)

Thank you.

Tina Marie Lalonde

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

Tina Marie Lalonde

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.

Phillipe Grandin

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.

Bill Kelleher

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.