This project has moved. For the latest updates, please go here.

Sound is not playing

Jan 10, 2015 at 6:03 AM
I code a website/ web form using C# When I run it in debug it works fine but when I host it on a server is does not play the sound.

I am told that Servers do not have audio cards but that they use the Client computer to play the sounds...

So why is my website not doing that ? when I go to my site the sound does not play...

again it works on my labtop when I use debug but not on the server.

Why is the server not using the client computers audio driver?

how do I troubleshoot this?
Jan 11, 2015 at 7:55 AM
NAudio is not what you should be using to play sounds on a webpage. It does not run in the client, but on the server. Instead, you need to use HTML 5 Audio, or Web Audio API, or even Flash or Silverlight.