mirror of
https://github.com/VueTubeApp/VueTube
synced 2024-12-18 06:20:12 +00:00
sb bugfix
This commit is contained in:
parent
fdb2f874ac
commit
d90b287eef
1 changed files with 0 additions and 3 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue