Highlighted

Video Component End Media Event

New Here ,
Sep 30, 2020

Copy link to clipboard

Copied

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.

TOPICS
How to

Views

69

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

Video Component End Media Event

New Here ,
Sep 30, 2020

Copy link to clipboard

Copied

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.

TOPICS
How to

Views

70

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Sep 30, 2020 0
Adobe Community Professional ,
Sep 30, 2020

Copy link to clipboard

Copied

Hi.

 

Please read this answer:

https://community.adobe.com/t5/animate/how-to-detect-the-end-of-a-video-in-a-component-before-playin...

 

Regards,

JC

__________________________________________
HTML5, JSFL, and AS3 samples: http://bit.ly/2mJgDoG

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Sep 30, 2020 0
New Here ,
Sep 30, 2020

Copy link to clipboard

Copied

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?

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Sep 30, 2020 0