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 8 of 8

Thread: Playing Sound

  1. #1
    New Coder
    Join Date
    Jun 2007
    Posts
    20
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Playing Sound

    Hey, Im going to make a little php script to play a certain song (from a drop down list) would this be easy to do?

    I dont want to have a media player, I kind of want my own little interface
    Last edited by newline; 06-05-2007 at 05:03 AM.

  • #2
    Supreme Master coder! _Aerospace_Eng_'s Avatar
    Join Date
    Dec 2004
    Location
    In a place far, far away...
    Posts
    19,291
    Thanks
    2
    Thanked 1,043 Times in 1,019 Posts
    I think Flash would be the better choice. You can use a playlist that is dynamically generated using php. I've always like the player found here http://www.*******************/?item=Flash+Mp3+Player
    Its really customizable and its free for non commercial use.
    ||||If you are getting paid to do a job, don't ask for help on it!||||

  • #3
    New Coder
    Join Date
    Jun 2007
    Posts
    20
    Thanks
    0
    Thanked 0 Times in 0 Posts
    But is there a way I could just use PHP? And no flash or any media player

  • #4
    New Coder
    Join Date
    Jan 2006
    Location
    California. USA
    Posts
    86
    Thanks
    1
    Thanked 0 Times in 0 Posts
    uhh you could use an <embed src=""></embed>
    but that is html

    and with php you could create a flash program

    but i don't believe you can play a song directly from php
    Need a Website?
    http://www.webmaking.biz
    Free Photo Hosting:
    http://www.photophatty.com

  • #5
    New to the CF scene
    Join Date
    Jun 2007
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts
    You could attempt on making one with Javascript... I have made one, it works.

  • #6
    Senior Coder
    Join Date
    Jan 2007
    Posts
    1,648
    Thanks
    1
    Thanked 58 Times in 54 Posts
    But is there a way I could just use PHP?
    No.

    PHP is server side.

  • #7
    New Coder
    Join Date
    Jun 2007
    Posts
    20
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Alright looks like im going to have to use js or flash

  • #8
    New to the CF scene
    Join Date
    Jun 2007
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts
    You could attempt on making one with Javascript... I have made one, it works.

    *EDIT* delayed post


  •  

    Posting Permissions

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