windows-media-player

Second request from Media Player in a web page

I have an ASP.NET web application where a Microsoft Media Player object on the page (in IE) is issuing a request for an .aspx web page. In the page I use TransmitFile to send back the audio file. This works fine most of the time. But, in some cases (a combination of IE version and a specific client, at least from what I can see) there...

Resize MediaPlayer without play button controls

I wanted to code a resizeable WindowsMediaplayer (ActiveX) without the play controls. it should fit to TPanels. ...

How to get duration value from windows media services 9

I'm using windows media services 9 to provide streaming service and would like to make sure users can only play within specified interval to prevent abuse. The media server reads and from asx file and the player can start and end at the correct offset. I can get the start offset at AuthorizePlayEvent using IWMSContext.GetQwordValue(WM...

Current playing item in Windows Media Player (wmplayer.exe ver. 12)

Been trying this for a while now. All solutions I've seen on the net don't seem to work, specially the really simple way to do it. WMPLib.WindowsMediaPlayer c = new WMPLib.WindowsMediaPlayer(); IWMPMedia i = (IWMPMedia)c.currentMedia; c.currentMedia is always null. It seems that new WMPLib.WindowsMediaPlayer(); is always creating a ...

Capture Mediacenter Content

I need to capture the content that (Win7) Mediacenter is displaying. My first approach was to use the Win7 Live Thumbnail Preview for this, but this only works as long as Mediacenter is not fullscreen. As soon as I switch to fullscreen mode, the thumbnail become black. This seems logical, because MC switches to a DirectX mode (for GPU ha...

Play media to device using existing WMP libraries.

LS, I was looking through the different Windows Media Player libraries (COM), but couldn't find a way to stream a media file to an external device or tell the device to start playing a certain file from a certain location. If there is an easier way not involving WMP I would be glad to take/investigate that path as well! Kind regards, ...