Replay video stimuli associated with button press

OS : MacOS Ventura 13.4
PsychoPy version: 2023.2.3
Standard Standalone?: y
What are you trying to achieve?: Showing video parts associated with the button press

What did you try to make it work?: Participants watch a video and press a button to indicate when they had a reaction during the video. We want to then show them again the parts of the videos in which they pressed the button to ask them a specific question.

What specifically went wrong when you tried that?: We found only a way to replay the entire video in a loop but not how to replay the specific video parts associated with the button press.