Play video texture


I’m trying to play a video file, it works if the media player -> playback -> Play on Open is set true but I want to play the video only when I hit a button but It doesn’t work, the function is in the screenshot below,

Could you help me please?


I’ve solved it! I needed to rest… hahaha