Show the Windows Media Player on a Windows Form (or Show the output of a process on a WinFom)
I am trying to launch Windows Media Player through Process.Start. I am able to start the wmplayer.exe and with filename as argument its playing the file. But it is playing in Media Player Window. I need to show the media i开发者_Go百科nstead on my own form. Is it possible to do it? MPlayer, an opensource media player has an option called "-wid" which will tell Mplayer to show output inside our form. I am trying to do something same with WMP.
I know WMP has activex control and we can embed it on a winforms to play any video. But I have encountered some problems with this way. So thinking to launch WMP as a process and play the media on my forms.
精彩评论