windows-media-player

Is there a good wrapper for using Media Player in IE

I need to add media playback ability to a web application. It has to play audio and video, and the player has to be MS Media Player (shouldn't use any plugin non existent on a standard windows machine). I know I can add it directly as an ActiveX to IE, and control it with JavaScript. I wonder if there is some popular and good wrapper tha...

Getting duration of audio file C#

Hi All, I'm trying to get the duration for an audio file in c#. I got the following code to work on my local machine but when I deploy it to a windows server 2008 box it always returns a duration of 0 for .avi and .wav files. WindowsMediaPlayerClass wmp = new WindowsMediaPlayerClass(); IWMPMedia mediaInfo = wmp.newMedia(filePath); ...

Skinning ActiveX Windows Media Player?

is it possible to skin the ActiveX version of Windows Media Player, or is that only possible with the full player? ...

Window Media Player issues two requests for the audio on web page

I'm using Windows Media Player in a web page. I have version 11 installed so that is the version I'm testing with right now. The player is embedded on the page with this HTML: <OBJECT id='MS_mediaPlayer' width="400" height="45" classid='CLSID:6BF52A52-394A-11D3-B153-00C04F79FAA6' codebase='http://activex.microsoft.com/activex/control...

How does IIS stream an AVI to Windows Media Player?

What protocol does IIS use to stream an AVI file to an embedded Windows Media Player? HTTP? RTSP? MMS? Does it even use streaming at all? I know Windows Media Services is supposed to help stream more efficiently which leads me to wonder if a plain-jane install of IIS even uses streaming at all. This person's answer only furthers that ...

play audio in an embedded media player

I have a client station that downloads .wav file and plays with the embedded medai player by using AxWindowsMediaPlayer library. I need to download the audio and give the url of the file to my media player. I was just wondering if there is any way that I don't store it in a physical storage, and load it from a memory for the media player...

how to play videos in windows mobile by windows media player in full screen mode

hii, I am developing an application which plays video from the server. I want to know how to play videos in windows mobile by windows media player in full screen mode. The situation is serious because windows media player also shows the url playing which contains the infromation about the internal security of server, so it is highly u...

Is it possible to play an MPEG2 movie and play a seperate MP3 file?

I am using an ARM based system and Windows CE 6.0. I am the OEM. Before I start diving into searches and coding examples, I wanted to know whether it is possible to use Windows Media Player for Windows CE 6.0 to play an MPEG2 file (without a sound stream), and at the same time play another MP3 file. Is it possible? Are there any H/W r...

ActiveX hosting using the concept of Alex Feinman doen't work on my HP iPAQ rx5720

Hello! I have a HP iPAQ rx5720 with Windows Mobile 5.0. I'm using AxHost code from http://msdn.microsoft.com/en-us/library/aa446515.aspx. This control works great in a ScreenOrientation angle of 0º or 180º (portrait). But it doesn't work if the orientation is 90º or 270º (landscape). By the way, I'm using the control to play videos with...

How to make WMP to locate my custom codec?

Hieverybody, I'm writing a custom codec for my encrypted mp3 file.(I know it sounds weird) The problem is making WMP locate and install my custom codec when it sees my encrypted file. There was WMPlugins.com once, but it is retired now. ...

Custom File Format And Codec ??

Hi everyone; I'm messed up with codec issue for days, and still couldn't see the big picture yet. It is my first time do deal with audio/video formats and codecs. So I really need some help about that. Here is the work. I'm writing several components that is responsible for encoding and decoding customized mpeg files. On top of standar...

axWindowsMediaPlayer/window media player has stoped working?

Hi, I am using axWnidowsMediaPlayer in my windows mobile application with compact framework 3.5 . It was working beautifully few days ago but now whenever i try to play a song from url it shows the message "Can not play the file.The file is either corrupted or the player does not support the format you are playing" The same url is no...

How to play video from url in windows mobile ?

Hi all, I am trying to play videos from the url with activeX window media player in my windows mobile application. Previously i was using the code below in which i was passing the url. Few days ago the code worked fine but now it doesn't seem to work at all for any files for any extensions. It always gives the following error.. "Can no...

Windows Media Player on top other DIV

I have an embed window media player which is always on top of other DIV tags. I used wmode = opaque; WindowlessVideo = -1 but it does not help. Does anyone know how to make it appear below a certain element of the page. <object type="application/x-oleobject" classid="CLSID:6BF52A52-394A-11D3-B153-00C04F79FAA6" codebase= "http://activex....

Windows Media Player - Enable play button without OpenFileDialog

Hi, this is probably pretty simple, but I've noticed that when trying to start the Windows Media Player (AxWMPLib), it takes the "player.url = path", and only then does the player's Play-button get activated. Thing is, I want to play sound files taken from the URL of a column in a database. And when clicking on that row, the mediaplayer ...

How can I add metadata to MP3s for Windows Media player from a script

I previously asked this question, but now I've gotten lazy and I'm trying to figure out how to do it from script (vbscript specifically). Specifically what I want to know is: How can I set Artist, Song Title, Genre, etc on a mp3 file from vbscript? Thanks ...

Windows Media Player Device Sync in VB.NET using WMPLIB

The MSDN documentation for WMPLIB states that syncing to device is not supported in .NET programming, only C++. Is there, however, a simple wrapper class or DLL that can be used to interface between a .NET program and the nescessary C++ code? Or is there a better way to sync files to a device using VB.NET? Are all devices suited/compat...

Why The Multimedia Application Uses a Background Color

Hello, I was seeing that all the video application(Camera monitoring, Windows Media Player, multimedia applications in general...) uses a backgound color, because if you have that color on something like a Web page and you put a video to play in Windows Media Player with it behind this color at the page you will see that your movie will...

Play video files as stream on a Windows Mobile Forms application

Hi! I'm developing a Windows Form application to run on Windows Mobile 5.0 and above, with C#, .NET Compact Framework 2.0 SP2 and Sql Server CE 3.1. I'm using Sql Server CE to store video files, and an ActiveX Control of Windows Media player (AxWindowsMediaPlayer) to play the file. I wondering if it is possible to play with this contro...

Display anything during initial buffering of embedded Windows Media Player?

I have a streaming movie playing on a page through an embedded Windows Media Player. Rather than having it display in plain black during the initial buffering period, is it possible to display: the first frame; or a separate image; or even a wait/progress cursor during this time? Or is the only option to show that something is happening...