Forum Discussion

CieraCarr-d9521's avatar
CieraCarr-d9521
Community Member
7 months ago

Restricting progress until video is watched

Hi everyone,

I'm designing a course where the client wants the user to watch a video (from Youtube) before being allowed to move on. Is this possible? I've tried inserting as a web object, as a MP4, and using the embed link. I'm able to set a trigger when it's entered as a MP4, but once the video ends, it doesn't trigger the next button to be enabled. When I insert with the embed link, the sound of the video disappears and it gets tied to the player audio, so very long seekbar. I thought maybe a variable, but not sure how to assign one to a video, if even possible.

  • BobStryker's avatar
    BobStryker
    Community Member

    Hi Ciera,
    As I understand the issues you're facing, I believe the MP4 approach is going to give you the greatest chance for success. You have full control of the video that way.

    The attached 2 slide mini example has an approx. 4 second long mp4 placed on the first slide with a large, transparent rectangle shape over the top to prevent viewers from clicking the video and stopping it -- and the playhead controller is read-only, preventing them from scrubbing ahead.

    The NEXT control also is disabled the first time the first slide is viewed which prevents bypassing the video slide.

    When the video completes, a custom "viewedVideo" variable is set to True and the NEXT control is changed to a normal state via triggers. When you backtrack to the first slide, a conditional statement looks to see if "viewedVideo" is True. When it does, the NEXT control is shown in a normal state and users won't be compelled to view the video in full a second time.

    Hope this helps!

    Bob