472,805 Members | 942 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,805 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 8799
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 =...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 2 August 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM) The start time is equivalent to 19:00 (7PM) in Central...
0
linyimin
by: linyimin | last post by:
Spring Startup Analyzer generates an interactive Spring application startup report that lets you understand what contributes to the application startup time and helps to optimize it. Support for...
0
by: kcodez | last post by:
As a H5 game development enthusiast, I recently wrote a very interesting little game - Toy Claw ((http://claw.kjeek.com/))。Here I will summarize and share the development experience here, and hope it...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Sept 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM) The start time is equivalent to 19:00 (7PM) in Central...
0
by: Rina0 | last post by:
I am looking for a Python code to find the longest common subsequence of two strings. I found this blog post that describes the length of longest common subsequence problem and provides a solution in...
5
by: DJRhino | last post by:
Private Sub CboDrawingID_BeforeUpdate(Cancel As Integer) If = 310029923 Or 310030138 Or 310030152 Or 310030346 Or 310030348 Or _ 310030356 Or 310030359 Or 310030362 Or...
0
by: lllomh | last post by:
Define the method first this.state = { buttonBackgroundColor: 'green', isBlinking: false, // A new status is added to identify whether the button is blinking or not } autoStart=()=>{
0
by: Mushico | last post by:
How to calculate date of retirement from date of birth
2
by: DJRhino | last post by:
Was curious if anyone else was having this same issue or not.... I was just Up/Down graded to windows 11 and now my access combo boxes are not acting right. With win 10 I could start typing...

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.