Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

.NET 

How do I Play a video on C/: using custom media player

Ive made an application that when installed puts a folder called "Video" containing 3 videos in to "C:\Program Files\.
The videos are tutorial videos. In the help menu there are 3 topics one for each video. I've made a custom media player in my application. What I want to do is use this media player to play the video that's selected. I can easily assign one video to the player but how do I have it play the video selected in the help menu.
I don't want to have to make 3 media players
I hope this makes sense. I'm not good at trying to explain things

Thanks
On a click/doubleclick event
MediaPlayer1.URL = "C\Program Files " whatever""
(Mar 6, 2016 01:40 PM)CaptainCaveman Wrote:  On a click/doubleclick event
MediaPlayer1.URL = "C\Program Files " whatever""


Thanks CaptainCaveman. worked a treat :)

VideoPlayer.Show()
VideoPlayer.AxWindowsMediaPlayer1.URL = "C:\Program Files (x86)\Assistant\video\SetUp.wmv"
Why do you claim to have made a custom media player when you're using Windows Media Player?
(Mar 6, 2016 03:37 PM)Hawk HF Wrote:  Why do you claim to have made a custom media player when you're using Windows Media Player?

Im not claiming I've made it. All I've done is give A facelift to look the same as my app.
(Mar 6, 2016 04:39 PM)webwarlock72 Wrote:  Im not claiming I've made it.

(Mar 6, 2016 01:31 PM)webwarlock72 Wrote:  I've made a custom media player in my application.

🤫
(Mar 6, 2016 05:00 PM)Hawk HF Wrote:  🤫

By "I made it" he means "I copy/pasted it"
[Image: vjPWhyy.gif]


Possibly Related Threads...
Thread / Author Replies Views Last Post
[C#] by darkdoctorMay 10, 2018 01:34 PM 8 313 May 10, 2018 01:34 PM
Last Post: darkdoctor
[C#] by EffexionAug 6, 2016 06:09 PM 9 248 Aug 6, 2016 06:09 PM
Last Post: jujuger
[.NET] by DogaJun 28, 2016 05:42 PM 13 837 Jun 28, 2016 05:42 PM
Last Post: Sniper Pal