I m working on this project, the client gave me the task to design the UI and embed videos. The backend code of that application is complete according to the client and the backend code is really poorly written with zero optimization. The application is working perfectly, the application starts the main form loads axWindowsMediaPlayer form with it self and axWindowsMediaPlayer loads videos through resources. The issue is that in the beginning of each video the media player blinks, like if the playlist have 3 videos it'll blink 3 times and if I run the axWindowsMediaPlayer form separately it doesn't blink at all. I've no idea what to do here.
Asked
Active
Viewed 463 times
1 Answers
0
Standart windows media player control is way too dated. It's basically good for nothing at this point. I'd just open nuget package list and look for any video player control. In case there is none, you can always just add a chromium-based webview element and play your video in there.

Hirasawa Yui
- 1,138
- 11
- 29
-
do you have recommendation about the media player? and how do i use chromium-based webview any leads? Note that its desktop app. – Sarmad H Nov 14 '20 at 10:50
-
Yeah, LibVLCSharp should do it. – Hirasawa Yui Nov 14 '20 at 10:52
-
Theres a package called CefSharp, it adds chromium to your app. – Hirasawa Yui Nov 14 '20 at 10:54
-
yeah well I tried using LibVLC but apparently it doesn't support playlists meaning 1 control can only be used for one vides while I've to play 3 videos back to back, opening/showing different controls might slow the application – Sarmad H Nov 14 '20 at 10:54
-
Libvlc does support playlists. https://stackoverflow.com/questions/28124041/c-sharp-vlc-playlist-autoplay-it-working-stop-when-next-video – Hirasawa Yui Nov 14 '20 at 11:00
-
okay thanks, I was using vlccontrol for playing videos, I'll try using this – Sarmad H Nov 14 '20 at 11:05