How can i play various videos on one gameobject and switch them by pressing a button?

Hey everyone, i have a gameobject in my scene with a videoplayer attached to it. I want to play more than one video on the same gameobject and switch between the videos by pressing a button. I really struggle with the script :frowning: I hope someone already hab a similar problem and is able to help me. Thank you very much!


Iā€™m pretty new with unity so Iā€™m not sure this will help but I think you can use videoplayer.url (Unity - Scripting API: Video.VideoPlayer.url) to change between videos.