![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Professional Programmer
Join Date: Jan 2006
Location: Ontario, Canada
Posts: 376
Rep Power: 0
![]() |
I am trying to play media files client-side on my ASP.Net website. I am using C# for the pages, so in my aspx.cs file, on certain button click event handlers I want to play music. So included the Windows Media Player dll and it worked to play music:
WindowsMediaPlayer wmp = new WindowsMediaPlayer(); wmp.URL = soundFile; wmp.controls.play(); Thanks in advance.
__________________
I am Addicted to Linux! |
|
|
|
|
|
#2 |
|
Professional Programmer
Join Date: Jan 2006
Location: Ontario, Canada
Posts: 376
Rep Power: 0
![]() |
No one knows how to play media files client-side?
__________________
I am Addicted to Linux! |
|
|
|
|
|
#3 |
|
Caffeinated Neural Net
![]() Join Date: Jun 2005
Location: Dry west coast of Canada
Posts: 1,033
Rep Power: 5
![]() |
The reason they play on the server is because, uhm, that's where the code's running. To play them client-side, you'd need to use something like Javascript or VBscript, assuming those even have such functionality. Barring that, you'd need to embed a multimedia object in the HTML output, or use a technology that's designed for interactive multimedia over HTTP, like Flash.
__________________
And once again, Probability proves itself willing to sneak into a back alley and service Drama as would a copper-piece harlot. - Vaarsuvius, Order of the Stick |
|
|
|
|
|
#4 |
|
Professional Programmer
|
You could just use this: http://www.xspf.org/quickstart/ and http://musicplayer.sourceforge.net/
I really liked the idea.
__________________
Don't take life too seriously, it's not permanent ! |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Vista Sound Driver Issues (Creative Cards) | Ghost | Coder's Corner Lounge | 3 | May 31st, 2007 2:36 PM |
| Streaming Sound Over a Socket | King | C++ | 3 | Apr 7th, 2007 5:29 PM |
| How can i do an include ??? like a server side include but it has to be client side | paulchwd | JavaScript and Client-Side Browser Scripting | 2 | Nov 12th, 2006 10:55 AM |
| Python FTP Client Wrapper | Sane | Python | 6 | Jun 22nd, 2006 9:44 PM |
| Try capturing client text crashed!? | Kam | C++ | 0 | May 19th, 2005 1:31 AM |