0
0
Fork 0
mirror of https://github.com/VueTubeApp/VueTube synced 2025-01-06 23:51:13 +00:00

Fix: SponsorBlock video ID incorrect

This commit is contained in:
Alex 2022-06-10 15:34:07 +12:00 committed by GitHub
commit 36aa435749
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -328,7 +328,7 @@ export default {
this.vidSrc = this.sources[this.sources.length - 1].url;
let vid = this.$refs.player;
this.$youtube.getSponsorBlock(this.vidSrc, (data) => {
this.$youtube.getSponsorBlock(this.video.id, (data) => {
console.log("sbreturn", data);
if (Array.isArray(data)) {
this.blocks = data;