Questions tagged [axmediaplayer]

AxWMPLib.AxWindowsMediaPlayer is the baseclass for the windows media player control.

5 questions
3
votes
1 answer

Playing sound parallelly with System.Media.SoundPlayer.PlaySync() and AxWindowsMediaPlayer

I have created a WinForm application which contains an AxWMPLib.AxMediaPlayer in which I play some videos. I also have to play some other custom sounds in a different thread. For this I used System.Media.SoundPlayer.PlaySync(). This thread plays…
Abdur Rahman
  • 657
  • 16
  • 46
1
vote
1 answer

Play all video files in a folder using axwindowsmediaplayer in c# windows forms

I'm building an application to play video files of a given folder continuously. Here's what I used to play a single file by giving the path. axWindowsMediaPlayer1.URL = @"D:\ShortVideoFolder\Asterix And The Vikings - YouTube.MKV"; …
ChathurawinD
  • 756
  • 1
  • 13
  • 35
1
vote
0 answers

How to set URL in axMediaPlayer for 2 movies

I try to play 2 videos in same axmediaplayer. my theory is this: the main movie will play until the timer event fire. then then new movie will play and the last movie position will save and after finishing the second movie, the last one will…
Elahe
  • 1,379
  • 2
  • 18
  • 34
0
votes
1 answer

C# Creating, Saving, and Playing a Playlist using ListBox

Beginner here with C# coding. I built a media player that allows the administrator to create and save a playlist. The guest should be able to load the playlist and play the songs on the said playlist. Unfortunately, every time the guest loads a…
0
votes
1 answer

How to stop the media player in c# when the form is not active?

I have embedded a media player (axWindowsMediaPlayer) in my c# winform application. It loops and plays fine. The problem is when the form where it was located will be closed or hide. It still plays the video even the form is not active. How can I…
Lucas Juan
  • 351
  • 5
  • 9
  • 23