Forum Discussion

KenLiu-bdb61006's avatar
KenLiu-bdb61006
Community Member
26 days ago

Possible to end embeded video on last frame?

Is there a way to freeze the video on the last frame when it ends?

Thanks

  • For HTML video, see this post for how to move or hold the playhead to the end time of the video.

    Something like this: https://jsfiddle.net/xjnao5gw/

    See also this for HTML video controls: https://www.w3schools.com/tags/ref_av_dom.asp

    SL already seems to do this for videos embedded from the content library. For embeded custom players like YouTube or others, that would be a function of the specific player. For a simple solution, you also could watch for the end of the media (again, may be player specific) and then show a static image over the video on your slide if it can't be done otherwise.

    For YouTube, you could see this post regarding sensing the end of the video:

    Enable Next button upon completion of Youtube video | Articulate - Community

     

  • Nedim's avatar
    Nedim
    Community Member

    Reaching the last frame usually indicates that the video has ended, unless the video is set to loop, in which case it will start from the beginning immediately after it finishes. To confirm this, check your embed code for the loop attribute, which controls whether the video repeats after it ends.

    Based on whether the video ends, you can trigger further actions, such as opening a different link, as shown in the example below. This would require some JavaScript programming: