Questions tagged [wmp]

For issues relating to interfacing with the Windows Media Player (WMP).

wmp
Filter by
Sorted by
Tagged with
3 votes
2 answers
860 views

how to put form on windows taskbar in C#?

In C# I need to make something like this: Any idea how to do that + autohide it with taskbar? It should work like older versions of WMP.
0 votes
1 answer
4k views

Problem with Chrome/FireFox - Unable to Embed windows media player in ASP.NET

I am trying to play a .wmv video in browser using asp.net 3.5. This is my code <object id="mediaplayer" type="video/x-ms-wmv" classid="CLSID:6BF52A52-394A-11D3-B153-00C04F79FAA6" width="500" ...
1 vote
0 answers
172 views

Getting/Calculating the Power of an Online Audio-Stream

I need to calculate the power of an online audio-stream, sourced in some URL (in dB or some other volume-level units). Could this be accomplished using native VB (i.e. VB6) or the .NET framework? I ...
2 votes
0 answers
666 views

Can not hide StatusBar in Windows Media Player 10 embedded to webpage

I cant get this to work. Strangely, the <param name="ShowStatusBar" value="false"> has no impact at all. Also, there is no "showStatusBar" property in my wmp object (JavaScript). var obj = '<...
2 votes
0 answers
875 views

Why does IWMPMedia not contain any useful attributes in some cases?

I have an m3u playlist and would like to obtain tag information for every audio file in the playlist. Using WMPLib (Windows Media Player COM object) gets me most of the way there, but I can never ...
-1 votes
1 answer
506 views

autohotkey script to schedule a wmv

I'm new to AutoHotkey and am looking for some bit of assistance getting started. Where do I begin if I wish to write a script that will schedule the opening of a .wmv file in WMP in full-screen every ...
9 votes
2 answers
1k views

Need a way to retrieve the current playing song from Zune and Windows Media Player with Python

An Application of mine retrieves the current playing song from a multitude of music players. However, I'm having great trouble implementing Zune and Windows Media Player. I've done a lot of googling ...
1 vote
0 answers
267 views

How to change a media's aspect ratio in WMP ActiveX?

I'm building an application that has a WMP ActiveX and I'm working with 720x576 PAL medias. I increased the WMP ActiveX width because of I want to play these medias like they are 16:9 but WMP ActiveX ...
1 vote
0 answers
7k views

WindowsMediaPlayer (WMPLib, wmp.dll) is affected by weired changes

EDIT: Go to the second update, for the easiest reproduce of this weird behavior. I'm trying to play and stop sounds with WindowsMediaPlayer library. I've search for dozens of pages on the internet, ...
1 vote
1 answer
4k views

Retrieve song name from WMP using C#

Using C# i'm trying to retrieve the name of the song that is currently playing and display it on a listBox, so every song that plays, it's shown in the listbox. Using System; Using WMPLib; public ...
3 votes
2 answers
3k views

Suppress messages from embedded Windows Media PLayer

I'm working on a Windows Form Application in which I have embedded a Windows Media Player that lets you play video files. The unique thing is that I have changed the extension of the media files (for ...
0 votes
1 answer
134 views

Reading custom param values from ASX file in WMP control

Does anybody have an idea how to read the values from custom fields in a WMP ASX Metafile? I know its possible as I'd done it in a VB6 app i'd done a while back (which i've lost the source to), but ...
1 vote
1 answer
5k views

How can I hide the control bar of the "Windows Media Player" for Chrome and FF?

I want to play a WMV video in an HTML file. The video should have no control panel (play/pause, volume, ...). With IE it works perfect. But with FF or Chrome the control panel is still displayed. <...
0 votes
1 answer
565 views

Playback of a streamed wave is cut while played in WMP

We're using WMPLib as an embedded player in our C# application but this issue occurs also in Windows Media Player. Our server streams audio and has streaming with offset enabled. Given URL: http://...
1 vote
0 answers
1k views

Assigning currentPosition property of AxWindowsMediaPlayer doesn't do the assignment

I am writing an application which using fake GPS data to simulate movement of a helicopter on an area. The application needs to sync that gps data with a video. In other word, the application needs to ...
1 vote
1 answer
1k views

axWindowsMediaPlayer.currentMedia.duration won't update unless user action

I embedded Windows Media Player in a WinForms application and I need to retrieve the duration of the video, which is stored in axWindowsMediaPlayer1.currentMedia.duration The problem is that after I ...
0 votes
1 answer
3k views

C# - Play videos from resources in wmp component

I have a wmp component in a C# Windows Forms and i want it to play a video (.avi) from the solution's resources. I need to know the code for the wmp component to find the video. Suggestions?
1 vote
2 answers
2k views

C# - Error if Windows Media Player is not supported

i´m using the windows media player (Interop.WMPLib.dll & AxInterop.WMPLib.dll) in my c#-project to stream a mp3 from a server. The only problem is, if the windows media player is somehow not ...
2 votes
0 answers
578 views

WindowsMediaPlayer openPlayer and playlist C#

I use WindowsMediaPlayer wmp, but i can't launch WMP (open window) and add items in current play list; I can openPlayer(mediaPath); OR I can load a new playlist with : IWMPMedia m = wmp.newMedia(...
3 votes
1 answer
2k views

How to attach event to dynamic object or COM object

I think this article has the same problem with me. However, there's no workable solution for my case. I'm using Windows Media Player ActiveX in my program. For some reason, I don't want to add a ...
1 vote
1 answer
657 views

Embedded Windows Media Player refuses to unload media

I have the Window Media Player control (axWindowsMediaPlayer) embedded in a forms application to play mp3 files. When I try to unload the media, hoping it will disable the play button and not allow ...
0 votes
1 answer
3k views

WMP.Url Relative Path

I'm writing a program to play audio from a Resources folder located in the same directory as my application (so it can be moved to a different computer) using the Windows Media Player component. My ...
2 votes
3 answers
5k views

How to check what version of Windows Media Player is installed on the machine?

As far as I know Windows Media Player 10 is the minimum requirement for WPF MediaElement to work. What is a decent way to programmatically (from .NET) check if WMP is present, and its version?
5 votes
2 answers
2k views

Unable to call WMP's controls.play() function in VisualBasic

I have the following code: http://pastebin.com/EgjbzqA2 which is basically just a stripped down version of http://www.dreamincode.net/forums/topic/57357-mymusic-player/. I want the program to play one ...
0 votes
0 answers
1k views

K-lite Codec crashing issue

I have a C# windows form application in which I am playing videos one by one using WMP activex object and WPF MediaElement (I have included it using element host into windows forms). When application ...
0 votes
1 answer
1k views

WPF media element gets blank and VLC and WMP goes in non responding mode

I have C# windows application in which one can play videos. I have used three options i.e WPF mediaelement, Windows media player activex component and vlc activex component. In my application. In this ...
6 votes
2 answers
2k views

How to listen to windows events in C#?

I'm developing an lyrics related application and I need to listen to Windows Media Player Events. I watched windows events in "Accessible event watcher" and I found out that there's some events that ...
1 vote
1 answer
920 views

Use of WMPLib on Windows N editions

I have a problem and I don't know how to work around it: I used the WMPLib in my C# application (located in C:\Windows\System32\WMP.dll). I referenced it and dded it in the header of the main form's ...
4 votes
1 answer
2k views

Error loading Interop.WMPLib Windows MediaPlayer in WPF App

Error 1 Unknown build error, 'Cannot resolve dependency to assembly 'Interop.WMPLib, Version=1.0.0.0, Culture=neutral PublicKeyToken=null' because it has not been preloaded. When using ...
1 vote
0 answers
3k views

Windows media player cannot play rtsp and mms stream urls in Session 0 of Win7 and Win Server 2008

In Windows Server 2003, we developed a program. The architecture is: (1)There is a Service (called ServA), (2)There is a process (called ProcB), it is an override Windows Media Player by ...
0 votes
0 answers
505 views

Get recent or frequent playlist using Windows Media Player SDK

Neither the official documentation nor the object browser in Visual Studio showed me how to access Windows Media Player recent files playlist? Or the frequent items? i.e. the one's that can be ...
0 votes
2 answers
7k views

Pause/Play MP3 file in C# using WMP

I am once again a bit stuck in my practising. I want an MP3 file to play when i open my program - I can do that, i got music. I also want a checkbox which allows to pause the music - But either I'm ...
0 votes
2 answers
2k views

Any possibility to add subtitl in AxWindowsMediaPlayer control?

I am using axWindowsMediaPlayer control in my windows mobile application with using .net CF 2.0, I want to play the video with subtitle.(SRT file type) Any one know how to add the SRT file in ...
-1 votes
1 answer
225 views

WMP COM fails to operate under subsequent user impersonations

I have a windows service that needs to access the Windows Media Player libraries of all currently logged on users. Since its a service, I must impersonate the logged on user so that calls to the WMP ...
1 vote
1 answer
1k views

Seeking in .avi file using C#

First of all, I'm new to C#, so bear with me. I am making an application, that shows an .avi file in windows media player like this: private void button1_Click(object sender, EventArgs e) { ...
16 votes
1 answer
3k views

WMPLib: player.mediaCollection.getAll().count is always 0

I am attempting to write code that reads each item from the user's Windows Media Player library. This code works for the majority of users, but for some users, getAll() will return an empty list when ...
2 votes
1 answer
1k views

WMP: unable to control/handle events when in fullscreen

I have added a Windows Media control to my form and have been able to use it perfectly except when it is in the fullscreen state. It seems that I am unable to manipulate any aspects of the control ...
0 votes
1 answer
3k views

WMP library in C# - playlist from a list

I just found out about the Windows Media Player library for C#, since I am making a stupid little app for my friend I thought that I would add it in (since he loves music). string ply = "Playlist"; ...
1 vote
1 answer
895 views

c# audio library - wmp or other

I looking for a free (for commercial use) library, who can play wav and support play faster and slower - play speed. NAudio doesn't support that. I try use the WMP player. It support that, but is a ...
0 votes
1 answer
1k views

Issue controlling a Windows Media Player instance through IronPython

Using the .NET Windows Media Player library, I have been able to obtain and alter various file properties (like user rating) for Windows Media Player programmatically. I wish to use the same library ...
0 votes
1 answer
779 views

How are codecs registered?

I am trying to get a deeper understanding around the codec area and how it all works. The primary drive is the uncertainty of installing codec packs to deal with certain unplayable videos, which ...
0 votes
1 answer
503 views

Windows Media Player UI not updating when sending commands with WMP SDK

I am using WMP SDK to control Windows Media Player. I first created a new project using Windows Media Player Plug-in Wizard and then added code which communicates with my application using a named ...
0 votes
1 answer
321 views

Windows Media Player's media sharing is stopping

Windows Media Player is stopping media sharing after a certain time. Environment I am running a Windows 7 64Bit with Media Player 12 on vmware server 2.0.2 WMP libraries are pointing on network ...
0 votes
1 answer
1k views

update Window media player Param

I added a WMP to my page as follow: <object id="mPlayer" classid="clsid:6BF52A52-394A-11D3-B153-00C04F79FAA6" type="application/x-oleobject"> <embed name="mPlayer" pluginspage="http:...
0 votes
1 answer
242 views

Headers sent by Windows Media Player

I am using this http://nunzioweb.com/streaming_audio-example.htm to embed and play.mp3 files The problem is that the above method uses a file that contains a link to .mp3 files Eg: the list contains ...
0 votes
1 answer
727 views

No sound when playing DVD with AxWindowsMediaPlayer in VB

I am using the AxWMPLib AxWindowsMediaPlayer for DVD playback in VB.Net. I can play back the DVD with the installed Windows Media Player 12, but it doesn't have any sound when I play it back in my ...
6 votes
1 answer
1k views

record system sound (stereomix) to a file

iam trying to record sound from an activex WMP control playing an internet radio stream, and because no simple way to do it, i decided to record the system sound or the so called "what you hear" (the ...
0 votes
1 answer
495 views

Windows Media Player DSP Plugin Format Negotiation

I am writing an audio DSP plugin for Windows Media Player with the plugin acting as a DMO. I am trying to get WMP to send me the audio data in mono 22.050 khz audio. However, no matter what I do the ...
0 votes
1 answer
598 views

Tracking bar not working in embedded Windows Media Player

In my ASP.NET MVC application, I'm embedding Windows Media Player so that my users can listen to specific audio recordings. I'm using the following code: <object width="100%" height="65" classid="...
3 votes
1 answer
2k views

How to control Windows Media Player remotely using Java?

this is the first time I´m posting something here. I´m working on a Project where I want to control the Windows Media Player through different Input Modalities (like Multitouch, a 3D Mouse...). At ...