Playing an audio file in our site???

Discussion in 'ASP .Net' started by Sobin Thomas, May 23, 2008.

  1. Sobin Thomas

    Sobin Thomas Guest

    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.......
     
    Sobin Thomas, May 23, 2008
    #1
    1. Advertising

  2. Sobin Thomas

    S_K Guest

    On May 23, 12:34 am, "Sobin Thomas" <> wrote:
    > 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?
     
    S_K, May 23, 2008
    #2
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. aeonsun
    Replies:
    2
    Views:
    451
    Luc The Perverse
    Mar 11, 2007
  2. Sobin Thomas

    Doubt-Playing audio file in asp.net

    Sobin Thomas, May 21, 2008, in forum: ASP .Net
    Replies:
    0
    Views:
    395
    Sobin Thomas
    May 21, 2008
  3. Sobin Thomas

    Playing audio file in asp.net???

    Sobin Thomas, May 22, 2008, in forum: ASP .Net
    Replies:
    1
    Views:
    1,408
    George Ter-Saakov
    May 22, 2008
  4. Sobin Thomas

    Playing audio file in asp.net

    Sobin Thomas, Aug 5, 2008, in forum: ASP .Net
    Replies:
    1
    Views:
    446
    Munna
    Aug 5, 2008
  5. suntrix7
    Replies:
    1
    Views:
    1,318
    John_Idol
    Jan 2, 2009
Loading...

Share This Page