You've already forked bilibili-subtitle
上下键移动
This commit is contained in:
@@ -158,6 +158,9 @@ window.addEventListener("message", (event) => {
|
||||
const video = getVideoElement()
|
||||
if (video) {
|
||||
video.currentTime = data.time
|
||||
if (data.togglePause) {
|
||||
video.paused ? video.play() : video.pause()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user