Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3

Thread: playing sounds

  1. #1
    Regular Coder
    Join Date
    Feb 2004
    Location
    Malaysia
    Posts
    175
    Thanks
    0
    Thanked 0 Times in 0 Posts

    playing sounds

    hi all,
    i hv a situation where i have an icon or button where when it is clicked, it will play out a selected song. like let's say:

    like lets say u have a display of songs....and beside each song title there is an icon or a link. once clicked, it will play the song but doesn't involve any external player.how can i do that?
    hope my explaination is enough.pls advice..thank you
    Warm Regards,
    Mivec

  • #2
    Senior Coder
    Join Date
    Jun 2002
    Location
    frankfurt, german banana republic
    Posts
    1,848
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Playing a song without an external player? Why that, I guess everyone should have a MP3 player or minimal sound control on his computer nowadays. Your only way is to request a PHP script upon clicking the icon and returning an audio file, which hopefully (and most certainly) will be played by the external player.
    De gustibus non est disputandum.

  • #3
    Regular Coder
    Join Date
    Feb 2004
    Location
    Malaysia
    Posts
    175
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Unhappy

    thanks modred...but,i don't realla get what u mean by this:

    Your only way is to request a PHP script upon clicking the icon and returning an audio file, which hopefully (and most certainly) will be played by the external player.
    or if u have a sample or code for it...could i have a look at it?thank you
    Warm Regards,
    Mivec


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •