Offset times of the video stimuli are not saving

Win11
**PsychoPy 2022.2.4:
Standard Standalone? (y)
What are you trying to achieve?:
I am trying to save the offset times of video stimuli.

What did you try to make it work?:
I have tried the STOPPED function as suggested here: Onset/offset times of the video stimuli are not saving

What specifically went wrong when you tried that?:
The output file does not include the time when the video stooped. I can get the onset time to appear using movie.getCurrentFrameTime().
Can anyone help me get the offset times too?

Many thanks!
Mariana