working prototype
This commit is contained in:
parent
85447185a8
commit
939be05e5d
1 changed files with 10 additions and 0 deletions
|
@ -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];
|
||||||
|
|
Loading…
Reference in a new issue