Playing audio file in

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

  1. Sobin Thomas

    Sobin Thomas Guest

    I found in one of the articles on the net that an audio file can be played
    in 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
    Thanking you in advance for your reply...
    Best regards.......
    Sobin Thomas, May 22, 2008
    1. Advertisements

  2. is running on the server. Who do you want to play audio file to
    Sys Admins.... They would probably love you for that :)

    If you want to play it to user then you need to rephrase your question a
    Like "What is the best way to play audio file in browser?"
    There are a lot of choices here.
    Your way working and I would say keep it like this.
    you might want to look into Media Streaming. But that is totally different
    topic than ASP.NET and I do not have much experience in it.

    Check google "Streaming Music from IIS"

    George Ter-Saakov, May 22, 2008
    1. Advertisements

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 (here). After that, you can post your question and our members will help you out.