Sir i have a use this code like
- private void axWindowsMediaPlayer1_Enter(object sender, EventArgs e)
- {
- axWindowsMediaPlayer1.URL = @"L:\about.mp4";
- }
But my query is if click in 1 button then
- private void button1_Click(object sender, EventArgs e)
- {
- axWindowsMediaPlayer1.URL = @"E:/Song/Video/1.mp4";
- axWindowsMediaPlayer1.Ctlcontrols.play();
- }
and if click in 2 button then another video is play
- private void button2_Click(object sender, EventArgs e)
- {
- axWindowsMediaPlayer1.URL = @"E:/Song/Video/2.mp4";
- axWindowsMediaPlayer1.Ctlcontrols.play();
- }
but it not work i need help to solve this problem.