working prototype

This commit is contained in:
Anthony 2021-10-12 19:02:11 +03:00
parent 85447185a8
commit 939be05e5d
No known key found for this signature in database
GPG key ID: C386D3C93D50E356

View file

@ -85,11 +85,21 @@ function hitsTwentyPercent() {
console.log(rand); console.log(rand);
console.log('rand'); console.log('rand');
setTimeout(function(){
console.log('play here');
player.play()
}, 1000)
return true
if (rand > 799) { if (rand > 799) {
return true; return true;
} else { } else {
return false; return false;
} }
} }
const videoPlaybackRates = [0.25, 0.5, 0.75, 1, 1.1, 1.25, 1.5, 1.75, 2]; const videoPlaybackRates = [0.25, 0.5, 0.75, 1, 1.1, 1.25, 1.5, 1.75, 2];