Skip to main content
Participant
September 30, 2020
Question

Video Component End Media Event

  • September 30, 2020
  • 1 reply
  • 270 views

I am creating something akin to a slideshow where we have a video video we created play, then when the video ends we need to go to another video automatically that will loop.  I am using HTML5 Canvas and have added the videos in using the video component but have been unable to detect the media end in order to transition to the next frame.

This topic has been closed for replies.

1 reply

JoãoCésar17023019
Community Expert
Community Expert
September 30, 2020
Participant
September 30, 2020

I have attempted this solution to no success.  I have adjusted my canvas z layer in order to overlay buttons on the video, would this affect how this works?  Also, the console.log is what I would replace with gotoAndPlay(frame#) correct?