Help with media player

I’m trying to make a tv set, I want the player to be able to turn on/off the tv and for the media file to play/restart whenever it’s turned on. I’ve got basic down, like a player interactive system and what not. I’m just confused on how to only start the media file once it’s been “turned on”. If anyone could help that would be great!
Below is what I’m working with.