Jump to content

How to Stream Music


limitphp

Recommended Posts

On a site like amazon.com, where you listen to music clips:

ex) http://www.amazon.com/gp/product/B001LLGSLW/ref=amb_link_83016531_1/184-1636537-3053041?pf_rd_m=ATVPDKIKX0DER&pf_rd_s=asin-coop-gp-1-B&pf_rd_r=09TSXX1SJYZH56MMEGCK&pf_rd_t=101&pf_rd_p=465745791&pf_rd_i=5174

 

Do you think they store each clip as a mp3 or asx, or audio file and then just have the flash piece link to that clip?

 

Or do you think they store each clip as an individual flash piece?

 

Also, it looks like each play button for each song is a link in html or javascript that links to the flash piece at the top.....do you think thats what it is?

 

Thanks

Link to comment
https://forums.phpfreaks.com/topic/139849-how-to-stream-music/
Share on other sites

It is done in flash. They just need 1 flash app, then they feed it the location of the song they want to play. Not hard to do, you can probably google to find the script.

 

What do you think they store the music clips as?  mp3 or something similar, or it doesn't matter?

 

thanks for the info!

 

I want to use what they use....because their songs load so much quicker than other websites....its almost like itunes...where the song plays almost instantly....

 

 

Link to comment
https://forums.phpfreaks.com/topic/139849-how-to-stream-music/#findComment-731621
Share on other sites

It is done in flash. They just need 1 flash app, then they feed it the location of the song they want to play. Not hard to do, you can probably google to find the script.

 

What do you think they store the music clips as?  mp3 or something similar, or it doesn't matter?

 

thanks for the info!

 

I want to use what they use....because their songs load so much quicker than other websites....its almost like itunes...where the song plays almost instantly....

 

 

 

Whatever can be played via flash, mp3, wmv, as. As long as the server has the codecs and the medium to play them it does not matter.

 

Link to comment
https://forums.phpfreaks.com/topic/139849-how-to-stream-music/#findComment-731650
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.