Forum Discussion
Tina-MarieLalon
11 years agoCommunity Member
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 r...
fdgsdfgdsfgsdfg
11 years agoCommunity Member
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.
Related Content
- 12 months ago
- 5 months ago
- 10 months ago
- 2 years ago
- 5 months ago