I have been making a player. I should display a set of videos in a queue by reading from a directory.
This is how the videos are listed in my videos folder:
1. first_video.mp4
2. second_video.mp4
3. third_video.mp4
Ex. When the first video ends, I have to display the second video right after.
The issue I am facing is that there is a gap to buffer next video. What I want is to display all these videos as one video, so that I would not have gaps in switching from video to video.
Are there any js video players to solve this problem or libraries?
Could it be accomplished using PHP or js?
Any suggestion is appreciated. Thanks beforehand.