473,769 Members | 6,473 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Using Windows Media Player Control in an ASP .NET Page

3 New Member
Hi,
I just want to know how to control the Windows Media Player Control using JScript in an ASP .NET page? I have tried going through the Windows Media Player SDK but there is no proper help there. Can anyone help me out? I want to control the Media Player Control completely by the use of the JScript or JavaScript.

Thanks
Muhammad Ammad Saleem
Software Engineer
Oct 4 '07 #1
3 3833
jhardman
3,406 Recognized Expert Specialist
moved to .NET forum
Oct 5 '07 #2
kenobewan
4,871 Recognized Expert Specialist
I doubt that you will find it. If you use W3K you could add the component media services, this may give you more control but not through JS. HTH.
Oct 6 '07 #3
clarencetroy
1 New Member
You have 2 options if you want put a mediaplayer control on your web form desinger.

1.) ASPNetVideo Control is available at
Http://aspnet-video.com

Install this control and use the javascript api manual.

2.) Use a dynamic OBJECT TAG
<OBJECT ID="mediaPlayer " height="45" width="200" CLASSID="CLSID: 6BF52A52-394A-11d3-B153-00C04F79FAA6" TYPE="applicati on/x-oleobject">
<PARAM name="URL" value="">
</OBJECT>
Just like this guys codeproject
http://www.codeproject .com/aspnet/CC_MultiMediaCo ntrol.asp
Oct 25 '07 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

12
3522
by: Simon Harvey | last post by:
Whato chaps, I work (or am hoping to work! :) for a company that specialises in the following: - Localisation of media - including software, manuals, literature and training material. - Creating training material themselves in many langauges built to order. The main thing I'm thinking about for the company is maybe a sort of content
1
2847
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 disk? I know WMP likes to save its playlists in directories such as: H:\Documents and Settings\Administrator\My Documents\My Music\My Playlists but any .wpl files saved outside such a scheme wont be found if only looking here.
1
1632
by: cyshao | last post by:
How to show a Real Player or Media Player on my Web page? I want my web page to show a vedio control which can play records. How can I do that? Thanks Charles Shao
3
19935
by: rmorvay | last post by:
I wrote a quick app to play music and I am having difficulty connecting a slider control to the Windows Media Player control. Here is my difficulty. I need to set the sliders min and max properties and utilize its value property to manage the volume of the Windows Media Player control. I am not sure which property on the windows media control I am suppose to manipulate. I tried to use the following: mp.volume = vsVol.value in the sliders...
2
9029
by: Vanga Sasidhar | last post by:
Already posted the same message but the date and time of my machine was set back. and it was listed under the old date. Thats why I am posting the same message again. Please accept this. ------------------------------------------------------------------------------------ Hi All, I have some AVI files and i want to create a program which will open an AVI file from the hard disk at runtime and run that Video. But here i want
1
5551
by: sri2097 | last post by:
Basically, I want to check if a URL is playable or not (without actually playing it). i.e. given a URL I want to write an automation script to figure it out for me if it's playable or not. If you give a bad/invalid URL for windows media player to play a pop-up window shows us that it cannot be played. So I would want to catch that event.
0
1897
by: dongarbage | last post by:
Hi there, I've created a user control to put in a web page. I'd like to add a windows media player control to the user control that I've created. But, for some reason, the user control does not load when I add the windows media player control to it. Is the issue that I did not specify the HTML correctly? I have embedded a windows media player in a web page, and had to specify the CLSID for media player, but in this case, I'd like to...
0
1838
by: PulkitZery | last post by:
Hi, can someone please tell me how can I add Media Player on my web project? I add the reference of window media player and in the toolbox I chose to display the windows media player. But for some reasons its not showing the Window Media Player control in the toolbox.
0
9423
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
1
9997
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9865
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8873
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7413
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5309
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5448
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3565
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2815
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.