moneysharma — 2012-11-02T15:29:17-04:00 — #1
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).
logic_earth — 2012-11-02T16:17:09-04:00 — #2
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.
moneysharma — 2012-11-03T04:57:54-04:00 — #3
then how could i make that?
cups — 2012-11-04T05:00:56-05:00 — #4
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.
henryc02 — 2012-11-05T01:20:09-05:00 — #5
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.
kduv — 2012-11-06T20:30:37-05:00 — #6
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.
moneysharma — 2013-01-13T06:50:37-05:00 — #7
can i integrate a music player software to a website to use it as a player on the website?