bandi94 Posted February 23, 2012 Share Posted February 23, 2012 it is possible to play a song whitout the client download it ? i mean i wanna make a music player whit a lot of song's (.mp3) now i can-t put them in server bk it will take hour's to download it now can i upoad them into a database and then the client play it from the database whitout download it ? thx Link to comment
Kenix Posted February 23, 2012 Share Posted February 23, 2012 Stream ( internet radio ). Link to comment
drk Posted February 23, 2012 Share Posted February 23, 2012 Stream ( internet radio ). If what you mean is a web radio then I have another way. Put the sounds in a webhost or dedicated/vps web-server ( or what you want ) and use the url ( e.g.: http://IP/sound.mp3 ) in playSound ( e.g. : playSound ( 'http//293.283.172.21/mySound.mp3',false) ). Link to comment
Kenix Posted February 23, 2012 Share Posted February 23, 2012 There is another way but it is very difficult. Link to comment
bandi94 Posted February 24, 2012 Author Share Posted February 24, 2012 yes i want something like Draken said thx man i will try Link to comment
arezu Posted February 24, 2012 Share Posted February 24, 2012 Stream ( internet radio ). If what you mean is a web radio then I have another way. Put the sounds in a webhost or dedicated/vps web-server ( or what you want ) and use the url ( e.g.: http://IP/sound.mp3 ) in playSound ( e.g. : playSound ( 'http//293.283.172.21/mySound.mp3',false) ). If only i would have done this instead . In my music player, i read the sound files from server with fileRead and send 50000 bytes of sound data, then i save the data to file and playSound, and then send request to send next part of the file.. lol Link to comment
drk Posted February 24, 2012 Share Posted February 24, 2012 Stream ( internet radio ). If what you mean is a web radio then I have another way. Put the sounds in a webhost or dedicated/vps web-server ( or what you want ) and use the url ( e.g.: http://IP/sound.mp3 ) in playSound ( e.g. : playSound ( 'http//293.283.172.21/mySound.mp3',false) ). If only i would have done this instead . In my music player, i read the sound files from server with fileRead and send 50000 bytes of sound data, then i save the data to file and playSound, and then send request to send next part of the file.. lol I think that your way is more hard for him. Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now