Let videos execute actions upon end or when set frame is reached

Yes please see this thread: Run JavaScript when a video has ended using addEventListener('ended')

Here's a way to do certain actions based on how much of the video has played using the timeupdate property: Sync Timelines to Video & Audio in Tumult Hype

To do this with a Youtube video you would need to use the Youtube api which is a bit more complex than the standard HTML5 events.

1 Like