R – how to play videos in windows mobile by windows media player in full screen mode

windows-media-playerwindows-mobile

hii,

I am developing an application which plays video from the server. I want to know how to play videos in windows mobile by windows media player in full screen mode.
The situation is serious because windows media player also shows the url playing which contains the infromation about the internal security of server, so it is highly undesirable.
so can anybody help me in these issues————-

1// start media player in full screen
2// media player does not stores the previous url.

the code which i m using for this is given below—————-

using System.Diagonostics;
 Process objProcess;
 ProcessStartInfo mediaStartInfo;

 objProcess = new Process();
            mediaStartInfo = new ProcessStartInfo(@"windows\wmplayer.exe", path);
            objProcess.StartInfo = mediaStartInfo;
            try
            {
                objProcess.Start();
            }
            catch (Exception e) { }

Best Answer

I tried using the /fullscreen argument like you would on the regular OS and that didn't work.

I'm not sure either is possible by just starting a new version of the media player. The best way to accomplish both is probably hosting the ActiveX control in your program, then you'll have full control.

Related Topic