How to play sound

Discussion in 'ASP .Net' started by Lord2702, Oct 4, 2004.

  1. Lord2702

    Lord2702 Guest

    I want to play a sound file, which is on my server, and approximately 5 - 7
    MB it is .Wav file. or .mp3, I want to play this file so that user of my
    site can click on a link to play this file. Is it possible to play a sound
    file in .aspx page. If it is through webservice, that is also good. C# code
    please.

    Also, please let me know waht is the best solution to play any sound file.
    Does my client require to have windows multi-media sdk(for required ActiveX
    control) or windows media player install on their computer ?

    I appreciate your reply.
    Lord2702, Oct 4, 2004
    #1
    1. Advertising

  2. Just a thought,
    You can import the audio file into Flash and convert it to an swf file.(of
    course you need flash for this) but believe me you get a very less file size.
    And also flash player runs on *most* of the browsers so just load the swf
    file when the user clicks the link.
    the best
    srini

    "Lord2702" wrote:

    > I want to play a sound file, which is on my server, and approximately 5 - 7
    > MB it is .Wav file. or .mp3, I want to play this file so that user of my
    > site can click on a link to play this file. Is it possible to play a sound
    > file in .aspx page. If it is through webservice, that is also good. C# code
    > please.
    >
    > Also, please let me know waht is the best solution to play any sound file.
    > Does my client require to have windows multi-media sdk(for required ActiveX
    > control) or windows media player install on their computer ?
    >
    > I appreciate your reply.
    >
    >
    >
    =?Utf-8?B?c3Jpbmk=?=, Oct 4, 2004
    #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. YeeCN

    How to beep or play any sound?

    YeeCN, May 10, 2004, in forum: ASP .Net
    Replies:
    1
    Views:
    540
    Guest
    May 13, 2004
  2. Rick Lederman

    Play a sound

    Rick Lederman, Dec 17, 2004, in forum: ASP .Net
    Replies:
    3
    Views:
    702
    Steven Cheng[MSFT]
    Dec 20, 2004
  3. Lam

    play sound file

    Lam, Mar 3, 2005, in forum: ASP .Net
    Replies:
    1
    Views:
    819
    Steve C. Orr [MVP, MCSD]
    Mar 3, 2005
  4. Giuliano Pascali

    IE don't play the sound

    Giuliano Pascali, Sep 18, 2003, in forum: Java
    Replies:
    0
    Views:
    420
    Giuliano Pascali
    Sep 18, 2003
  5. Chris Ianson
    Replies:
    44
    Views:
    7,130
    Neredbojias
    Mar 19, 2006
Loading...

Share This Page