Streaming audio using php

I need some kind of app link in which I pre-define the time and the song, and at that time the song will start playing.

For example, if I want to play a song at 8 am. Then this song only starts then. Now if user "A" opens my webpage at 8am then the song will start playing and another user "B" opens the webpage at 8:05 am, after which the song shouldn't play from the beginning, but the user should get one the same sound, i.e. user "B" will skip the 5 minute song.

Need a link to this point.

+3


source to share


1 answer


OK, if you don't have buffering and speed issues, you can use the free version of jwplayer .

Extract the song and its playing time according to the time, for example, 8:00 PM when the user opened the page, then extract the song whose playback time and end time are between the current time (8:00 PM).



After that, use the jwplayer search function, for example, if the song playing time is 7:55 pm and the end time is 8:10 pm and the user opened the page at 8:00 pm, then search for audio 5 minutes later from jwplayer('your_element').seek(5*60);

to search video and play video according to time

+1


source







All Articles