feat: 独立登录页面

This commit is contained in:
2025-02-17 18:54:57 +08:00
parent 2cb9dc10ca
commit 8209a314f2
5 changed files with 658 additions and 35 deletions

View File

@@ -39,6 +39,8 @@ export const useVideoSubtitleEmbedding = async (
};
}
console.log(`video clip: ${videoUrl}`)
const videoClip = new MP4Clip((await fetch(videoUrl)).body!)
const videoSprite = new OffscreenSprite(videoClip)
videoSprite.time = { duration: videoClip.meta.duration, offset: 0 }