Questions tagged [axwindowsmediaplayer]

AxWMPLib.AxWindowsMediaPlayer is the base class for the Windows Media Player control

166 questions
2
votes
1 answer

Windows Media Player Duration - WinForms

I am trying to get the Duration of the video that i have loaded into my Windows Media Player but it seems to be returning back '0.0' I need the duration value before the video starts playing as the video length determines the width of a slide. This…
2
votes
1 answer

How to get the last nodes of a Treeview?

So... I have a treeview that basically represents a playlist, and I want to get the nodes on the last level (the songs) to get their text and be able to create a Playlist for a AxWindowsMediaPlayer in the order the songs appear in the treeview, the…
ChriisO_o
  • 23
  • 4
2
votes
1 answer

Captions only working in full screen

I'm using axwindowsmediaplayer control in Windows Forms application to show *.SMI caption file with the video being played. The problem is captions are only shown when WMP control is in full screen mode. I have looked very hard but I have not been…
2
votes
0 answers

Warning library WMP in C#

I have a warning. I want to fix it, but I do not know, please help me! Warning: Type library importer encountered a property getter 'sessionPlaylistCount' on type 'WMPLib.IWMPNowPlayingHelperDispatch' without a valid return type. The importer will…
2
votes
1 answer

Axwindows media player dectect keydown in full screen mode

I have ax windows media player in my windows forms application. When the user double clicks on it, it becomes full screen. PROBLEM: I want the user to be able to go back to normal screen when he presses the "escape key". I have put a keydown event…
Akash Deshpande
  • 2,583
  • 10
  • 41
  • 82
2
votes
0 answers

AxWindowsMediaPlayer - how to set video border color programmatically

if you play video using Windows Media Player, there is an option "Video border color" in "Options"\"Performance". Default color is black. How can I set color to white programmatically, when using AxWindowsMediaPlayer component in WinForms? Prereq:…
user2126375
  • 1,594
  • 12
  • 29
2
votes
1 answer

How can I loop a song with Windows Media Player in Visual Basic?

Previously I was playing it like My.Computer.Audio.Play(My.Resources.island, AudioPlayMode.BackgroundLoop) But for different reasons(such as: lack of setting possibilities), thats not good enough, so I changed to Windows media player, but I have…
Xetusath
  • 39
  • 1
  • 1
  • 4
2
votes
1 answer

how to create and save the playlist

i am trying to develop a media player using windows media player component in c#.net. this is my code by which i can make play list and add the songs to the playlist and the name of the playlist will be shown in the listbox named "playlistviewbar"…
vidhi
  • 411
  • 1
  • 6
  • 19
2
votes
2 answers

AxWindowsMediaPlayer, Volume change is not occuring while playing Midi File

I am trying to change the volume of an AxWindowsMediaPlayer Object. Like this. //Change Volume private void VolumeTrackBar_ValueChanged(object sender, EventArgs e) { if (MidiAxWindowsMediaPlayer != null && VolumeTrackBar != null) …
theUser
  • 1,346
  • 3
  • 21
  • 40
1
vote
3 answers

How can i stop AxWindowsMediaPlayer from accepting any user commands in C#

In my democode an embeded windows media player starts to load and play a video. The player shows no controls, all other options are the default options. So far this works. What does not work is that not all userinteraction is stopped. For instance…
Johannes
  • 6,490
  • 10
  • 59
  • 108
1
vote
1 answer

C# program crashes when setting media player URL of axWindowsMediaPlayer object from separate form window: code 3221225477 0xc0000005 Access violation

I'm making a C# Windows Forms program in Visual Studio which keeps crashing whenever I set the URL to a windows media player axWindowsMediaPLayer object. There are two form windows: MainWindow and VideoForm. There are buttons on MainWindow to select…
1
vote
1 answer

VB.net Video file only playing music in windows media player

If My.Computer.FileSystem.FileExists(My.Computer.FileSystem.SpecialDirectories.Temp & "\vid.mp4") Then AxWindowsMediaPlayer1.Visible = True AxWindowsMediaPlayer1.URL = My.Computer.FileSystem.SpecialDirectories.Temp &…
domonkos11
  • 11
  • 2
1
vote
1 answer

how to drag and drop on an AxWindowsMediaPlayer screen C#

I just created a media player using the AxWindowsMediaPlayer component, I would like to drag and drop audio and video files onto the screen, I would like that once dropped, the files play automatically, but I don't know how do ... it's really…
1
vote
2 answers

Alternatives to axWindowsMediaPlayer component?

Is there an alternative to the axWindowsMediaPlayer component? I'd be using it from C#.
slemdx
  • 1,055
  • 2
  • 16
  • 19
1
vote
0 answers

how to label text change after AxWindowsMediaPlayer playlist

I'm currently making a program to listen to and record sounds. I use mcisendring, WMPLib.WindowsMediaPlayer lib. but i have a problem. After I insert the URL of the playlist as an array value, play it back, and want to change the label value after…
JUNSEOK OH
  • 11
  • 1
1 2
3
11 12