I can currently stream one mp3 file from my server using the following code:
Header("Content-Type: audio/x-mpegurl");
echo "http://www.caribcommunity.com/music/$play"."\n";}?>
i have tried echoing multiple mp3 songs so as to get each song in a different track. I am not having any luck and noone seems to have any information
Please Help!
i have tried echoing a variable which stores the different urls seperated by \n \r \t <br> chr(10) but non of these seems to force the next url into the second track
instead it ignores the characters and adds the entire string to the first track resulting in a error.
eg:
$playlist = "httt://first url;"
$playlist .= "\n http://second.url";
Header("Content-Type: audio/x-mpegurl");
echo
results in:
http://first.urlhttp://second.url
trying to be loaded into the first song track