Launch video
Hey all! I wouldn't know where else to post this so I'm posting it here.
I want to know if there are any ways that I can play a video whenever I launch a game via steam or another client. I mainly just want to do the little Wild Tanget coin animation where you click the coin and it goes into the slot and the game launches. If any of yall would know how to do that I would greatly appreciate it!
Btw if I would have to code that's alright(ish? I kinda dont want to learn but if I have to) just point me in the right direction and I'll be off!
I want to know if there are any ways that I can play a video whenever I launch a game via steam or another client. I mainly just want to do the little Wild Tanget coin animation where you click the coin and it goes into the slot and the game launches. If any of yall would know how to do that I would greatly appreciate it!
Btw if I would have to code that's alright(ish? I kinda dont want to learn but if I have to) just point me in the right direction and I'll be off!
Commentaires
Look into using the **WindowsMediaPlayer** control as a possibility, you can pass it a path to a video file which will auto-play. There's a **PlayStateChanged** event that fires whenever the player changes what it is doing so wait until you get a **wmppsStopped** event, call the game and exit the video player.
You'd need to create a custom shortcut for every game that loads the video player instead and only load them from those shortcuts, so it depends on whether that is a problem or not. I launch every game from a shortcut so it wouldn't be a problem but I know other people have this odd shortcutphobia so...
It's probably between 10 and 20 lines of simple(ish) code but if you've never done any coding then 20 lines can seem like a mountain.