У меня сейчас есть это:
Javascript
<script>
$('document').ready(function(){
$('video').get(0).play();
// $('video').bind('ended', function(){
// $(this).next('video');
// });
$('video').each(function(val, index){
$(this).bind('ended', function(){
$(this).get(index + 1).play();
});
});
});
</script>
HTML
<video width="703" height="704" controls preload="auto" src="LOW.mp4">Video format not supported.</video>
<h3>CBS - m4v</h3>
<video width="703" height="704" controls preload="auto" src="1100.m4v">Video format not supported.</video>
<h3>Video #3</h3>
<video width="703" height="704" controls preload="auto" src="yep.mp4">Video format not supported.</video>
Прямо сейчас, JavaScript не работает. Как воспроизвести следующее видео, как только заканчивается первое видео, а затем воспроизводить третье, когда заканчивается второе. Не всегда 3 видео, может быть больше.