Playing an audio file in our site???

S

Sobin Thomas

Hi,All...
I found in one of the articles on the net that an audio file can be played
in asp.net by setting the Hyperlink's Navigate Url as the audio file name.
ie, Hyperlink1.NavigateUrl="~\\songs\\mysong.wav";
And it works pretty well for me.Is there any disadvantage in using this
method.If so, what is the preferred method of playing an audio file in
asp.net?
Thanking you in advance for your reply...
Best regards.......
 
S

S_K

Hi,All...
I found in one of the articles on the net that an audio file can be played
in asp.net by setting the Hyperlink's Navigate Url as the audio file name.
ie, Hyperlink1.NavigateUrl="~\\songs\\mysong.wav";
And it works pretty well for me.Is there any disadvantage in using this
method.If so, what is the preferred method of playing an audio file in
asp.net?
Thanking you in advance for your reply...
Best regards.......

I tried this method and it didn't work for me.
I recieved an HTTP Error 403 - Forbidden. error.

Any suggestions?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top