mirror of
https://github.com/ajayyy/SponsorBlock.git
synced 2025-12-15 16:07:06 +03:00
Submit video duration
This commit is contained in:
@@ -1458,6 +1458,7 @@ async function sendSubmitMessage(): Promise<void> {
|
|||||||
const response = await utils.asyncRequestToServer("POST", "/api/skipSegments", {
|
const response = await utils.asyncRequestToServer("POST", "/api/skipSegments", {
|
||||||
videoID: sponsorVideoID,
|
videoID: sponsorVideoID,
|
||||||
userID: Config.config.userID,
|
userID: Config.config.userID,
|
||||||
|
videoDuration: video.duration,
|
||||||
segments: sponsorTimesSubmitting
|
segments: sponsorTimesSubmitting
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user