/**** Playing the video*****/ on Click of start button play the video, get the current time. iterate on start time of that video check the condition for start time is greater than current time and end time is less than current time. will get only one video play those video. /****** on ending function of that video *******/ on ended function of that video iterate on end time. get the array of those video whose end time is greater than current time store the array in variable initially play the video whose 0th element of that array (if there is only one video) play the video make the function onended of that video my handler. function myhandler() videopLAY(0) i++ if(i= videoCount-1){ i=0 videoPlay(i) } else { videoPlay(i) }
©