答案 0 :(得分:2)
试试这个:
JSfiddle:https://jsfiddle.net/1co0x58v/
$('input.play', player).bind('click',function () {
$('video, audio', player)[0].play();
$('video, audio', player)[1].play(); // add this line to play second video
});
$('input.pause', player).bind('click',function (){
$('video, audio', player)[0].pause();
$('video, audio', player)[1].pause(); // add this line to pause second video
});