AxWMPLib.AxWindowsMediaPlayer is the base class for the Windows Media Player control
Questions tagged [axwindowsmediaplayer]
166 questions
1
vote
1 answer
Delay next item in the axWindowsMediaPlayer playlist until the current item has completed playing
I have used the following code to create and loop my videos in my playlist:
private void Form1_Load(object sender, EventArgs e)
{
var pl = axWindowsMediaPlayer1.playlistCollection.newPlaylist("plList");
…

Yash Saraiya
- 1,035
- 1
- 20
- 40
1
vote
0 answers
axwindowsmediaplayer overlay fullscreen with a form
I have a windows forms application with multiple forms. The main form contains an instance of an axwindowsmediaplayer, and it also has an instance of a subtitle form. This subtitle form only contains a label.
What happens now is if I set my player…

Dennis van Gils
- 3,487
- 2
- 14
- 35
1
vote
0 answers
Download and playback video at the same time c# win forms
I am creating a c# winform application that download huge video files and playback them at the same time then ask user 'Do you want to Save the video?'
var fileStream = new FileStream(@"c:\c.mp4", FileMode.Create, FileAccess.Write,…

Farzin Kanzi
- 3,380
- 2
- 21
- 23
1
vote
2 answers
C# load video from resources folder not playing
I trying to load my video from the resources folder but its not playing automatically once my form load. Can I know what mistake i have done. Thank you.
This is my c# code:
private void Form2_Load(object sender, EventArgs e)
{
…

systemcrash
- 33
- 1
- 5
1
vote
1 answer
Play three sounds simultaneously c#
I want to play three sounds simultaneously, but second sound must play after one seconds, third sound after two seconds. I have this code:
private void Play()
{
AxWindowsMediaPlayer player1 = new AxWindowsMediaPlayer();
…

lisek
- 31
- 2
1
vote
1 answer
How to drag and drop mp3 files to a listbox without the file path?
I am having some problems with a media player made in C#, I had already asked for another problem here in stackoverflow, but now I have a different one and I think it's the last one.
I want to drag and drop MP3 and WAV files to a listbox in a…

ChrisCreateBoss
- 323
- 7
- 21
1
vote
3 answers
How to format a song's duration time into minutes and seconds?
I am working on a Windows Form Application in which I have a Music Player using the "axWindowsMediaPlayer" component. It can import mp3 and wav files, display the songs in a listbox, save and load a playlist, etc.
Now I want a label to show the…

ChrisCreateBoss
- 323
- 7
- 21
1
vote
1 answer
Releasing a media file in Windows Media Player Control
In my C# code, I tried to delete a video file while I was playing it by Windows Media Player Control.
I stopped playing, made its URL null, and even close the Media Player Control.
string delFile =…

Ashram Kane
- 288
- 2
- 7
- 17
1
vote
2 answers
AxWindowsMediaPlayer control location/size
I have a AxWindowsMediaPlayer control on my WinForm.
Everything works so far. But I can't resize or move the control.
I initialize the control like this:
mediaPlayer = new…

johnbraum
- 276
- 4
- 18
1
vote
1 answer
Loading video files programmatically from the network with AxWindowsMediaPlayer
OS: Windows 8.1
Apps: Windows Media Player 12
IDE: Visual Studio 2012
I have a C# client application which connects to a server application on another machine. The server app provides the client app with the name of a video file hosted through an…

Chris Noonan
- 36
- 5
1
vote
4 answers
How to disable Windows Media Player controls individually
I'm working on a C# application which in I have a AxWindowsMediaPlayer control.
I want to disable its controls individually, not all together.
So far I have to use this code which disables all the controls
wmpPlayer.Ctlenabled = false;
Is there a…

Ghasem
- 14,455
- 21
- 138
- 171
1
vote
2 answers
axWindowsMediaPlayer1 - How to make one frame forward and one frame backward?
What I want to do is the following:
When I'll make a click action on the button1 I want to move my "avi" one frame forward.
When I'll make a click action on the button2 I want to move my "avi" one frame backward.
I resolved the first point like…

frank
- 223
- 1
- 3
- 14
1
vote
1 answer
VB.NET Playing Video From My.Resources Automatically Creates The .mp4 File In Filepath
I'm basically trying to play a video on Axwindowsmediaplayer from my resources, so it could be seen from other computers besides mine (just taking it from my Resources). And I came up with this.
Dim b As Byte() = My.Resources.My_Video
Dim…

user3288047
- 25
- 2
- 7
1
vote
1 answer
VB.net Disable-Deactivate Left Click Handle-Event-Function On AxWindowsMediaPlayer
Whenever my AxWindowsMediaPlayer1 is on fullscreen and I click on it, it basically either stops my player or starts playing again from the moment it was paused. Is there anyway to disable touch/click on my player forever?
I should probably mention…

user3288047
- 25
- 2
- 7
1
vote
1 answer
Add an Event listener to the AxWindowsMediaPlayer.Ctlcontrols.currentPosition property c#
I am using the WindowsMediaPlayer element in a windows form and I would like to have an event listener that monitors the change of the Position property (double).
The built in Position changed event does not seems to be it.
How can I add an event…

Joseph Azzam
- 105
- 1
- 14