C
C#10mo ago
Mekiaqu

Visual Studio C# Media Player

I created a media player and it displays a video from files. I have got 5 friend which is using this application. 4 of them can watch the video but one of my friend can not watch the video because when he starts the application, media player says "Connecting..." for a while and application just closing itself without any exception. What is can be reason of this problem? If you can help I would be glad!
3 Replies
Mekiaqu
MekiaquOP10mo ago
The only code is: mediaPlayer.URL = "video.mp4" so the application just displaying the video from the application folder
Pobiega
Pobiega10mo ago
The media player control uses installed codecs,so the fifth friend probably doesn't have the correct codec installed
Mekiaqu
MekiaquOP10mo ago
New Update: I created another application for him. It wasn't working at first but in 5 or 10 mins it just worked. But the main application is not working for him anyways. I have put AxInterop.WMPLib.dll Interop.WMPLib.dll and wmp.dll files with application folder. If he doesn't have the correct codec installed, how does the other application's media player works? Is there any other things can cause this exception?
Want results from more Discord servers?
Add your server