blob: e1d5948c3dd934b1c76edcad2ee7ea8e5d8888a4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
function playVideo(elementId) {
var element = document.getElementById(elementId);
element.style.visibility = "visible";
element.style.opacity = "100%";
element.play();
}
function stopVideo(elementId) {
var element = document.getElementById(elementId);
element.style.visibility = "hidden";
element.style.opacity = "0%";
element.pause();
element.currentTime = 0;
}
|