Hide layer when object is hidden - if scrubbing the timeline....
Jun 20, 2018
Hi everyone! I'm using SL2 and I have an issue with a looping slide layer not hiding in HTML5 output when scrubbing backwards on the slides timeline. It works fine in the player (Flash) but the HTML5 doesn't work the same.
I'm using a trigger that hides the slide layer whenever the button that is highlighted by the effect is hidden. The seekbar is unlocked so the user can scrub the timeline. The issue arises because the button doesn't appear until the end of the timeline. This is when the animated highlight effect(on the slide layer) is triggered to show. Problem is, if the user scrubs back, the highlight doesn't hide even though the button does.
Anyone have any ideas as to how I could fix this? Or do this in a different way.
Thanks!
8 Replies
Hi Daniel!
Thanks for your post! You mentioned that it behaves differently in Flash and HTML5, and that feels a bit buggy to me.
So that I can get a better understanding of what's going on here, would you mind attaching a sample slide to a new reply here? Thanks!
Sounds similar to this: https://community.articulate.com/discussions/articulate-storyline/frustrating-seekbar-issue
Try adding a trigger .1 second in the slide to hide the layer in order to workaround your issue. Sounds illogical (it is), but might keep your layer from appearing randomly.
Hope this helps,
Alex
Thanks for the reply Alyssa and Alexandros. I had a deadline to meet, otherwise I'd have responded to this yesterday.
I made an example to show you what the difference is. But I'm also just realizing that the version of SL2 I'm using, at my new job, is Updated to10. So that may have something to do with it. But please try this out and let me know if you get the same results or not.
Thanks!
Hi Daniel,
Thanks for sharing that example!
I gave it a test in Storyline 2 Update 13, and you can view the Flash output here and the HTML5 output here. I saw the same thing as you described.
I also took a look at this in Storyline 3 Update 4, and it appears that this issue has been fixed there. Here's a link to the version I published.
We had a few similar issues reported to our team with the seekbar and layers in Storyline 2's HTML5 output, so we'll continue to keep you posted here with any additional info on those.
Thanks Ashley. Appreciate you testing this out for me. I'm still trying to find a way to make this work. Will let you know if I find some kind of work around for SL2.
Thanks, Daniel - would love to hear what you find out.
Hey Ashley, so I decided to rethink this today and came up with a solution.
I took the button off of the base layer and moved the button to an additional slide layer. Then I had a trigger at the end of the base layer show the new layer and the layer with the highlight effect. Then I just needed to gate the slide to the buttons new location for the next button to appear after the button was selected and showing visited.
I'd still like to find a way to access the seekbar's time count, but from what I have read in other posts it seems like that isn't possible. Though I wonder if it's possible with a JavaScript file that is linked to the course via the story_content folder?
Hi Daniel,
The Javascript piece is something I'll have to rely on the community for, as it's well over my head! But I do always feel like people can do anything with the Javascript is they know where to look and how to interpret it!
This discussion is closed. You can start a new discussion or contact Articulate Support.