Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Nov 10th, 2006, 6:03 AM   #1
lucifer
Programmer
 
lucifer's Avatar
 
Join Date: Oct 2005
Posts: 84
Rep Power: 4 lucifer is on a distinguished road
Question Using Windows Media Player with Asp.NET

I want to play movies on my website ,but i am not able to embedd media player in asp.net page
can some body help me
__________________
"You're good... but me, I'm magic"
lucifer is offline   Reply With Quote
Old Nov 13th, 2006, 9:30 AM   #2
melbolt
Hobbyist Programmer
 
melbolt's Avatar
 
Join Date: Feb 2005
Location: PA, USA
Posts: 242
Rep Power: 4 melbolt is on a distinguished road
Send a message via AIM to melbolt Send a message via Yahoo to melbolt
one way to do it, which really has nothing to do with asp .net but rather html is like so:


html4strict Syntax (Toggle Plain Text)
  1. <object width="320" height="290"
  2. classid="CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95"
  3. id="mediaplayer1">
  4. <param name="Filename" value="kids.mpg">
  5. <param name="AutoStart" value="True">
  6. <param name="ShowControls" value="True">
  7. <param name="ShowStatusBar" value="False">
  8. <param name="ShowDisplay" value="False">
  9. <param name="AutoRewind" value="True">
  10. <embed
  11. type="application/x-mplayer2"
  12. pluginspage="http://www.microsoft.com/Windows/Downloads/Contents/MediaPlayer/"
  13. width="320" height="290" src="/support/dreamweaver/ts/documents/kids.mpg"
  14. filename="kids.mpg" autostart="True"
  15. showcontrols="True" showstatusbar="False"
  16. showdisplay="False" autorewind="True">
  17. </embed>
  18. </object>

stolen from http://www.adobe.com/cfusion/knowled...fm?id=tn_15777



another possible way might be to download the windows media player sdk thing and see if there is a control that you can use in asp .net. here's an example but this is in a regular .Net app, but may be somewhat similar to the way its done in asp as well.
http://www.informit.com/articles/art...?p=101752&rl=1
__________________
I have never let my schooling interfere with my education. -Mark Twain-

Xbox live gamertag: melbolt
melbolt is offline   Reply With Quote
Old Nov 13th, 2006, 9:40 AM   #3
Iftikhar
Programmer
 
Iftikhar's Avatar
 
Join Date: Oct 2006
Location: London
Posts: 40
Rep Power: 0 Iftikhar is on a distinguished road
Send a message via MSN to Iftikhar
I used the similar method in my experiment site, ie. using object tag. However if you also want that your movie clip play in other browsers like FF2 then also use embed tag with object tag. The url of my experiment is
http://uxisfyp1.brunel.ac.uk/cspgiak
__________________
Iftikhar Ahmed Khan
For doing an experiment on programmer's mood please visit http://uxisfyp1.brunel.ac.uk/cspgiak
Iftikhar is offline   Reply With Quote
Old Aug 28th, 2008, 2:31 AM   #4
ziyad6
Newbie
 
Join Date: Aug 2008
Posts: 1
Rep Power: 0 ziyad6 is on a distinguished road
Thumbs up Re: Using Windows Media Player with Asp.NET

Here is the link http://dotnetsoldier.blogspot.com/20...pages-and.html that explains how to embed wmp in asp.net

HTH
ziyad6 is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
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 On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Windows Media Center Recorded TV MrMan9879 Coder's Corner Lounge 2 Sep 3rd, 2006 2:06 AM
Do you know this kind of media player? java_roshan Coder's Corner Lounge 3 Aug 10th, 2006 11:46 AM
test lostcauz Coder's Corner Lounge 9 Jul 18th, 2006 3:20 PM
Function problems Prm753 C 8 Jan 5th, 2006 3:13 PM
media player paulmedic555 Project Ideas 2 Aug 30th, 2005 1:48 PM




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 2:46 PM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC