embedded windows media player in web application

A

Anise

I have a question concerning embedding a windows media
player into a web application in .net..

I download Windows Media Player 10 and its SDK

On the .ascx page I placed a windows media player object
from the toolbox
and all the sites i read say when
"Adding the Windows Media Player control from the Toolbox
also adds references to two libraries created by Visual
Studio, AxWMPLib and WMPLib"

For some reason though I cannot establish a reference to
the AxWMPLib namespace nor can i find its
AxInterop.WMPLib.dll which are vital in using this
object...

does anyone know what might be my problem?
 
N

Nicholas Paldino [.NET/C# MVP]

Anise,

You are trying to add an ActiveX control, which is not the right way to
do it. Rather, you have to declare an <object> tag in your ASP.NET page,
which will reference the media player, which is installed locally on the
user's machine.

Hope this helps.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top