473,395 Members | 2,446 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

embedded windows media player in web application

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?

Nov 16 '05 #1
1 8880
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.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Anise" <an*******@discussions.microsoft.com> wrote in message
news:06****************************@phx.gbl...
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?

Nov 16 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Mickel Grönroos | last post by:
Hi! Anybody tried using Windows Media Player 9 via win32com? (And more precisely, combining that with a Tkinter application.) I found a few earlier threads on Windows Media Player and Python,...
1
by: Stephen Adam | last post by:
Hi there, Have spent a while trying to find out how to connect to Windows Media Player through COM. Unfortunately there doesnt seem to be much stuff about it on the web. What I need to do is...
1
by: Silverton Mike | last post by:
I need to retrieve Windows Media Player playlists programmatically via C# from a desktop machine. Does WMP keep track of used/created playlists via registry entries or a saved file on the hard...
6
by: Mustafa Rabie | last post by:
Hi All, I have a customer, who wants me to add online radio to his web site. 1) How can i add the media player object to the site 2) How can i dynamically change the url when i user clicks on a...
4
by: BobAchgill | last post by:
What is the best way to show a video file directly in a Form? Can I use functions of Windows Player in a Windows Form? Functions like: play video or show visualization for music, etc.
1
by: Paul Fi | last post by:
how do i catch windows explorer and windows media player events in a .NET application, is it possible, say i double clicked on a media file inside windows media player and i wanted that event to...
2
by: codepuller | last post by:
I have a embedded media player into an ASP.NET web page and it all works except for the first time the page loads, when the user clicks on the play button, the player acts like it is going to play...
0
by: RomanVN | last post by:
Hello, I have the following problem. The Windows MediaPlayer object is embedded in an ASP page: --- test.asp --------------------------- <%@ LANGUAGE=VBScript enablesessionstate=true...
2
by: gsauns | last post by:
I have a Windows Media Player control embedded in my page. This is the code I use to get it to play: function setPlayerURL() { player = document.getElementById("wmpWindow"); myURL =...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.