lbry.com/web/js/yt2/youtube_video.js
2018-03-20 08:58:28 -04:00

31 lines
No EOL
528 B
JavaScript

function playVideo1(){
var myVideo = document.getElementById("video1");
if (myVideo.paused){
myVideo.play();
}
else{
myVideo.pause();
}
}
function playVideo2(){
var myVideo = document.getElementById("video2");
if (myVideo.paused){
myVideo.play();
}
else{
myVideo.pause();
}
}
function playVideo3() {
var myVideo = document.getElementById("video3");
if (myVideo.paused) {
myVideo.play();
}
else {
myVideo.pause();
}
}