I have an array of video elements that I wish to play at the same time.
The only way I've found online that I could do this would be to use new MediaController(); but that doesn't seem widely/if at all supported.
What I was expecting to do was:
var videos = document.querySelectorAll('video');
var mc = new MediaController();
video.forEach(function(el) {
el.controller = mc;
});
mc.play();
The only way I've found to do this is doing a forEach on the array and playing them one after another, but I was wondering if anyone know if there might be a way to do this, but you notice a slight delay between video[0] and video[4] when playing.
Is it even possible to get this to be seemless with JavaScript?
P.S. This'll only need to be a Webkit solution as this isn't really something for a browser, but more for a front end for a UE4 game.