embedded windows media player in web application

  • Thread starter Thread starter Anise
  • Start date Start date
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?
 
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.
 
Back
Top