Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 2.0 > ASP.NET 2.0 Professional
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
ASP.NET 2.0 Professional If you are an experienced ASP.NET programmer, this is the forum for your 2.0 questions. Please also see the Visual Web Developer 2005 forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 2.0 Professional section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
 
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old May 31st, 2007, 02:28 AM
Authorized User
 
Join Date: Nov 2003
Location: Phoenix, AZ, USA.
Posts: 19
Thanks: 0
Thanked 0 Times in 0 Posts
Default Adding Windows Media Player to ASPX page

Hi all,

I've got a web site that I want to be able to play .wmv movie files on. I want to embed a windows media player activex control on the page and when someone clicks a hyperlink/link button under the control it starts an associated movie.

I thought I could just add an <object> to the page and access it programatically from the code behind to set the player.URL property to kick off the movie but I'm getting an error on the page that the player doesn't exist - it's not seeing it because it's not a server control I asssume.

I also found directions to add the COM object of the windows media player to the toolbox by adding a reference to the project, but I don't see the player added to the toolbox so I can't addit to the page.

Can anyone give me direction on what is the best way to go about this?

Thanks!
Bob
  #2 (permalink)  
Old August 13th, 2007, 12:37 AM
Registered User
 
Join Date: Aug 2007
Location: , , .
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Did you ever get this question answered? I have the same question and wonder if you HAVE to create a custom server side control to accomplish the task.

  #3 (permalink)  
Old August 13th, 2007, 03:08 AM
Friend of Wrox
 
Join Date: Jun 2003
Location: , , Denmark.
Posts: 184
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to Jonax
Default

You'll need to generate some client-side script I think, have a look at these references:
http://www.mioplanet.com/rsc/embed_mediaplayer.htm
http://www.microsoft.com/technet/scr...ne/player.mspx
http://msdn2.microsoft.com/en-us/library/bb249259.aspx


 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Add Media Player Control in webpage(.aspx) dharmeshtandel C# 1 April 3rd, 2008 07:28 AM
Windows Media Player 10 gigamars04 VB.NET 1 December 17th, 2007 12:12 AM
Windows Media Player 1g0r Pro VB 6 0 October 16th, 2006 12:51 AM
embedding media player in your c# windows app aravindv C# 0 August 28th, 2005 11:24 AM
How to embed the media player in the .aspx page doctorsom Classic ASP Components 1 December 24th, 2004 02:19 PM



All times are GMT -4. The time now is 03:07 PM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.