Select and load a file (video) while running the game

my idea is, while running the game, select a video in my computer and play it in-game on a surface designated for it (in that case, a tv)

i have already the widget that can point the file. I just want to take this selected file and say to my engine, hey, replace the path of this file media source and play on my tv.

my problem i have right now is: how to transfer the path of the selected file to the path of my ‘‘default’’ file media source

i use the open file picker plugin (for the widget to select a file)
maybe there is another way too.

thanks :frowning: