Play Video with gpio buttons

Hello everyone, I’m working on a project with rasberry.
The project consists in a video loop, and then create 4 buttons using gpio.
When one of the four buttons is pressed, must start another video, this video has finished restart the initial loop.
Can someone help me?