SitePoint Sponsor

User Tag List

Results 1 to 7 of 7
  1. #1
    SitePoint Enthusiast
    Join Date
    Oct 2012
    Location
    India
    Posts
    73
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    make music player in php(except html player or google player)

    hello all

    i want to create a audio player like this http://www.in.com/mplayer/ in PHP. i can design it but i don't know how to make it functional using php.( i don't wanna use default players or players like google player etc).

    Thankyou

  2. #2
    . shoooo... silver trophy logic_earth's Avatar
    Join Date
    Oct 2005
    Location
    CA
    Posts
    9,013
    Mentioned
    8 Post(s)
    Tagged
    0 Thread(s)
    You cannot make one with PHP. The function of a music player is client side stuff. PHP lives only on the server it cannot do client side stuff.
    Logic without the fatal effects.
    All code snippets are licensed under WTFPL.


  3. #3
    SitePoint Enthusiast
    Join Date
    Oct 2012
    Location
    India
    Posts
    73
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    then how could i make that?

  4. #4
    SitePoint Wizard silver trophybronze trophy Cups's Avatar
    Join Date
    Oct 2006
    Location
    France, deep rural.
    Posts
    6,869
    Mentioned
    17 Post(s)
    Tagged
    1 Thread(s)
    Investigate how each browser handles the playing of the music, and come up with a strategy so that when users click on "Play >>" the a track does actually play.

    Store all your tracks in a relational database.

    Store the album images as files on the file system, keep the address of that image in your relational database.

    Carefully design your database so that you can store and retrieve the relationships between tracks, albums, artists, moods the various filters you see on the site you mentioned.

    Have PHP then query your database to extract the various lists of tracks with a "Play >>" button next to them.

    Give yourself a pat on the back.

  5. #5
    SitePoint Member
    Join Date
    Oct 2012
    Posts
    8
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    PHP does not deal with audio players, flash players, ajax, css, html, or any type of players or client side language. AJAX being partly server-side, but it is a different language set altogether.

  6. #6
    SitePoint Addict kduv's Avatar
    Join Date
    May 2012
    Location
    Maui, HI
    Posts
    211
    Mentioned
    5 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by henryc02 View Post
    AJAX being partly server-side, but it is a different language set altogether.
    AJAX isn't a language. It's a transport. It's a way for client side languages to communicate with server side languages. Some argue that it's a protocol.. but that's not completely accurate.
    Keith
    Freelance web developer
    http://www.duvalltech.com/

  7. #7
    SitePoint Enthusiast
    Join Date
    Oct 2012
    Location
    India
    Posts
    73
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Cups View Post
    Investigate how each browser handles the playing of the music, and come up with a strategy so that when users click on "Play >>" the a track does actually play.

    Store all your tracks in a relational database.

    Store the album images as files on the file system, keep the address of that image in your relational database.

    Carefully design your database so that you can store and retrieve the relationships between tracks, albums, artists, moods the various filters you see on the site you mentioned.

    Have PHP then query your database to extract the various lists of tracks with a "Play >>" button next to them.

    Give yourself a pat on the back.
    can i integrate a music player software to a website to use it as a player on the website?


Tags for this Thread

Bookmarks

Posting Permissions

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