Forum Discussion

MarkusCantu-517's avatar
MarkusCantu-517
Community Member
7 days ago

Show layer displays solid white using variable.

Hi all! Any advice and help would be greatly appreciated. I believe I am overthinking this scenario and there is a better way but this is what I have. I open to any feedback.

Scenario:

The learner will view a video. Seek bar is disabled until video is complete. When video is complete, a slide layer becomes visible giving an instruction. Slide layer goes hidden if learner drags seek bar to rewatch any part of video.

Current Slide Triggers:

Set variable VideoRestarted to True when timeline starts. Show layer when timeline ends on slide (Condition: If VideoRestarted = False)

Issue:

When layer shows in preview and published, the layer is solid white not showing instruction. So the actions with the variable are working kind of. If I delete the variables and just do a slide trigger of show layer when timeline ends on this slide. It shows the layer with instructions just fine.

Any thoughts, please?

6 Replies

    • DavidTait's avatar
      DavidTait
      Super Hero

      Thanks for uploading your file. If you change the highlighted trigger in the image to react when the value is True, the instruction layer shows as desired.

      The way you have this set up will only show the layer if the variable is False, but the variable is set to True when the timeline starts.

      • MarkusCantu-517's avatar
        MarkusCantu-517
        Community Member

        That is very helpful. I appreciate your time.

        I just tried it and it partially works better now. Now it shows the instruction layer as I wanted but then goes to a white screen again after 1 second. I assumed this is because that is the timeline length so I adjusted the layer to 5 seconds to verify - and it indeed shows a white screen after the 5 seconds is up. 

        An issue with extending the timeline on the layer is that now is when the learner scrolls back through the video, the instructions layer stays until the 5 seconds is up, covering the video layer. Do you have any suggestions for that? I was hoping there was a logic setup that I could do that triggered something like, if the timeline is not at the end then hide layer. I tried reusing the trigger you highlighted and using it a bit differently but no luck.

  • It's quite difficult to completely envisage what you're describing without seeing your file. If you could share that I'm sure someone will be able to help.

    • MarkusCantu-517's avatar
      MarkusCantu-517
      Community Member

      Great point David. I've added the file in the comments.

      Definitely appreciate any advice and time. Thank you.