This commit is contained in:
IndieKKY
2024-10-03 19:48:55 +08:00
parent 5b6b4211a4
commit 66cd431c3b
5 changed files with 391 additions and 302 deletions

View File

@@ -188,6 +188,7 @@ window.addEventListener("message", (event) => {
info: data.info,
data: res,
}, type: 'setSubtitle'
// @ts-ignore
}, '*')
})
}
@@ -199,6 +200,7 @@ window.addEventListener("message", (event) => {
data: {
currentTime: video.currentTime
}, type: 'setCurrentTime'
// @ts-ignore
}, '*')
}
}
@@ -211,6 +213,7 @@ window.addEventListener("message", (event) => {
noVideo: !videoElement,
totalHeight,
}, type: 'setSettings'
// @ts-ignore
}, '*')
}