hi , i m usning server side code for playing sound at client side . my sound file at my server. At server it is working fine. But at client side it is not working. when i want to play at client side , it is automatic play at server.
on page load code is
string path = "song.wav";
player = new System.Media.SoundPlayer(path);
Stream SoundResource;
player.SoundLocation = path;
player.Load();
player.Stop();
and play button
player.play();
pls help me.
With Regards
Ritesh
sound player is not workingsound player is not working
Page 1 of 1
1 Replies - 3091 Views - Last Post: 10 February 2010 - 09:01 AM
Replies To: sound player is not working
#2
Re: sound player is not working
Posted 10 February 2010 - 09:01 AM
You will have to upload the file to the clients computer, before you can play it for the client or embed it in the HTML using the EMBED tag.
You might want to check out some of the third party libraries to accomplish this.
http://www.aspnetaudio.com/
You might want to check out some of the third party libraries to accomplish this.
http://www.aspnetaudio.com/
Page 1 of 1
|
|

New Topic/Question
Reply




MultiQuote




|