Skip to main content
Ezgi
Associate III
March 1, 2022
Question

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

  • March 1, 2022
  • 1 reply
  • 776 views

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?

This topic has been closed for replies.

1 reply

Yoann KLEIN
ST Employee
March 2, 2022

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 KLEINST Software Developer | TouchGFX