let video = document.getElementById("video")
var controle = document.getElementById("controle")

function hide() {
    let control = document.getElementById("controle")
    control.style.opacity = "0";
}

function show(){
    let control = document.getElementById("controle")
    control.style.opacity = "1";
}

function play(){
    video.play();
}

function pause(){
    video.pause();
}

function back(){
    video.currentTime -= 10;
}

function next(){
    alert("Esse video possui menos de 10 (DEZ) segundos.")
}

function diminuirVelocidade(){
    video.playbackRate -= 0.5;
}

function aumentarVelocidade(){
    video.playbackRate += 0.5;
}

function stop(){
    video.pause();
    video.currentTime = 0;
}