cancel
Showing results for 
Search instead for 
Did you mean: 

Why does the video go back to the beginning when it ends?

Ezgi
Senior

Hi,

I have a opening screen and when the video is over, I want that to slide next screen. However, when it is over, first frame appears. When I realized it, I tried to learn what is the last frame, but I couldn't. So, How do I obtain the last frame?

1 REPLY 1
Yoann KLEIN
ST Employee

Hello @Ezgi Şanver​ ,

To avoid that issue, you can use a little work-around in TouchGFXDesigner :

  • In the "Interaction" tab, create an interaction for your video, with the trigger "Video is done", and for action "Pause video". Also check the "Can trigger another interaction" box.

0693W00000Kb5u3QAB.png 

  • Create another interaction, with has "Another interaction is done" (Interaction 1) for trigger and that performs a "Change screen" action.

0693W00000Kb5wTQAR.png 

By doing that, your video will pause at the last frame, and then your application will switch to the other screen.

Hope that this helped,

/Yoann

Yoann KLEIN
ST Software Developer | TouchGFX