0
0
Fork 0
mirror of https://github.com/VueTubeApp/VueTube synced 2024-12-17 22:10:09 +00:00

sb bugfix

This commit is contained in:
Nikita Krupin 2022-06-01 14:47:00 -04:00
parent fdb2f874ac
commit d90b287eef

View file

@ -42,7 +42,6 @@ export default {
}, },
data: () => ({ data: () => ({
blocks: [], blocks: [],
skipping: false,
}), }),
mounted() { mounted() {
let vid = this.video; let vid = this.video;
@ -67,8 +66,6 @@ export default {
!this.skipping !this.skipping
) { ) {
console.log("Skipping the sponsor"); console.log("Skipping the sponsor");
// to avoid jank and jitters
this.skipping = true;
vid.currentTime = sponsor.segment[1] + 1; vid.currentTime = sponsor.segment[1] + 1;
} }
}); });