Play audio sound on all machine

Posted by Shoyebaziz123 under ASP.NET on 8/13/2014 | Points: 10 | Views : 383 | Status : [Member] | Replies : 1
Hello,

I have written this code for playing sound in my application.

SoundPlayer my_wave_file = new SoundPlayer(path);
my_wave_file.PlaySync();

it works fine in my local machine , but when i publish my website sound plays but from my machine , that is where i published the build, i want it should be play on each an every machine which access my web site .




Responses

Posted by: Dotnet_EVIL on: 8/22/2014 [Member] Starter | Points: 25

Up
0
Down
Hello,

First please check if you have uploaded the sound file on your server too, where you are uploading your website. Then check if the path of the sound file, which you have uploaded to the server, is correct.


Thanks.

Shoyebaziz123, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response