wmp

How to interact with Windows Media Player in C#

Hello, I am looking for a way to interact with a standalone full version of Windows Media Player. Mostly I need to know the Path of the currently played track. The iTunes SDK makes this really easy but unfortunately there really isn't any way to do it with Windows Media Player, at least not in .Net(C#) without any heavy use of pinvoke,...

How do I embed Media Player in a C# MailMessage to play an Attachment

I'm using a C# MailMessage to attach a wave file (8K) to an email message. I'd like to provide a player within the body of that email message that will play that wave file if the user chooses to do so. I've tried using the embedded <object> version of WMP, and a cid: reference to the file, but Outlook 2003 rejects the object tag and wo...

How to play WMV in a WindowMediaPlayer activeX controlled by a flash component?

How to play WMV in a WindowMediaPlayer activeX controlled by a flash component? I've seen it done here: http://sport5.co.il/ Does anyone know how? ...

Is there a simple JavaScript slider?

I need to create a custom volume slider for a WMP object. The current slider is complicated to modify, and use, is there a simple way to generate a slider on an HTML page that can have it's value passed to a javascript function? ...

Media support in WPF without Windows Media Player 10+ ?

I'm wondering if it is possible to deploy Windows Media Foundation without Windows media player 10 or 11? Here's the context. I have a WPF application running in a corporate enterprise setting. WPF requires Windows Media Foundation for rich media support. Windows Media Foundation is distributed via Windows media player 10 and 11. The co...

Stop embedded Windows Media Player from looping?

I've got an embedded Windows Media player in an HTML page, and when the audio gets to the end, it just starts again from the beginning. According to the documentation, there's an autorewind parameter/attribute and also a loop. The problem is, I've set both of those to false (and/or zero) and it doesn't seem to make any difference. Mig...

Creating a Smart Playlist via .NET code

I'm looking to synchronize media libraries from other programs to Windows Media Player via .NET (specifically C#) code. The other programs allow for Smart Playlists and I would like to preserve that in Windows Media Player (WMP) now that it is capable of it as well. From what I can tell it's only possible to create the Smart Playlist t...

Delphi: play memorystream in wmp activex

hi..I'm new to this site and I hope someone can help me with my problem. I am using a Delphi language. And I would want to play a memorystream to windowsmediaplayer ActiveX. Is this possible? If it is, can someone give me a hint or something.. sample code maybe. Thanks. ...

AccessViolation exception when form with AxWindowsMediaPlayer closed

I have a AxWMPLib.AxWindowsMediaPlayer on a form. When I close the form, I get "Attempted to read or write protected memory. This is often an indication that other memory is corrupt." exception. It is OK with hiding the form but not with closing. Everything's fine when the component is removed from the form. This is Winforms .Net3.5. A...

How to receive MPEG-TS multicast from Windows

We currently have a system with live video encoded to an MPEG-TS multicast stream, being received by televisions with STBs. In addition to televisions we'd like to embed the video in our Windows application. I know that VLC will receive the stream, but would prefer both a solution that I can embed in an existing application without play...

Accessing Windows Media Player's Playback Speed controls

Is there a way to access WMP10+'s playback speed controls in a dotnet app? User level information on the Playback control information ...

Windows Media Player (11+) C# Plugins

Is it possible to create WMP11+ (well, sure, the more versions the better, but I'm only targeting Vista onwards for now) plugin in C#? All the resources I've found show it for C++, but not for C#. I'm trying to create a plugin that interacts with WMP along the lines of Last.FM/the 'Now Playing' plugin (that is a "Background" class plug...

Validating streaming URL's in PHP without using WMPlayer.ocx ...

We have a SOAP-based webservice that our client uses to validate their updated live streaming video URLs. We implemented this service so our client can rotate their live streaming publishing points multiple times a day to obscure their location. The problem is that we do a number of checks on our end to validate these new publishing poi...

Is there a WmpBitmapDecoder equivelant in Silverlight?

Does anyone know how to use Windows Media Photo (.wdp) in silverlight? There is the WmpBitmapDecoder class for regular wpf applications, but I don't see anything like that when I create a silverlight application. Are there any alternative image formats that might be better or easier to use? ...

addEventListener & wmp not working as expected

Hi, I have a WMP player object and I'm trying to add an event listener to intercept ScriptCommands that are sent to the player. Instead of being attached to the WMP object, my callback is being called right away, and then the ScriptCommands aren't being intercepted. function init() { var WMPlayer = document.getElementById("WMPlay...

Streaming Audio/Video in WPF with early versions of WMP?

Hey guys I am developing a Wpf App for a large client base, and have just found out that Windows Media Player 10+ is required in order to properly use the MediaElement XAML class in my Form. I personally don't use WMP, so I did not have it updated in my system (it was version 9, so no video played). I know for a fact many of the clien...

C#: AxWMPLib - Playing a portion of a song

Hi, I'm trying to play a song in a WinForms C# application using the AxWMPLib COM control. However, I only want to play a specific 30 second region of that song. So far I can play the track from the beginning of that 30 second region (using the Ctrlcontrols.currentPosition member), but I have no way of specifying the end time. What's t...

Problem with Chrome - embed windows media player

Hi. I am having a problem. I embed WMP in my page, and I need to hide buttons from player. I make it to hide them in IE and FF, but I can't make it happen in Google Chrome. Here is the code <object id="MediaPlayer1" width="690" height="500" classid="CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95" codebase="http://activex...

Getting information from Windows Media p.

Can i get the file name of the current playing track/video from windows media player? It will be a small program, written in c++. I have some experience in c++ but no knowledge about this kind of problem. It would be great to show me a way to learn, to start building something ...

WMP: streaming, then saving

I use the Windows Media Player Control (WMP.DLL) in my application to download (stream) and show videos. Once the video file is fully downloaded, I would like to save it to disk. Unfortunately I can't find a way to do so. I thought of using a hack: probably WMP does not hold the whole file in memory, so it must be somewhere on disk as te...