Mapping .mp4.001 and .mp4.002 files into a player

19.1k views Asked by At

I have been looking for a way in which I can map two split files into an online player. For example if I have .mp4.001 file and .mp4.002 file in one folder VLC media player automatically finds all the connected files in the same folder and plays a complete uninterrupted video.

Now what I want is an online player ofcourse in HTML5 in which I can map all the files which are in different locations. eg.

src=http://www.xxx.xxx/abc.mp4.001
src=http://www.xys.xxx/abc.mp4.002
src=http://www.xyz.xxx/abc.mp4.003

I was not able to find any player also I am not sure if this is possible.

Kindly help.

1

There are 1 answers

3
longi On

VLC has a playlist, so you should implement a playlist for your html5-video player. check here.

Or you can use javascript to listen to the html5 video on end event, to decide which video should be played next.