fix: throttle request issue per video,audio as indicated requirements in units and lessons

Signed-off-by: rgrgogu <obsequio.rus@gmail.com>
This commit is contained in:
rgrgogu
2026-07-15 17:00:46 +08:00
parent 5a9c0390e6
commit 35fb6a3544
9 changed files with 125 additions and 24 deletions
@@ -151,7 +151,7 @@ export function PreviewBlock({ block, onWatchProgress }) {
case "video":
return <VideoBlock content={content} readOnly onWatchProgress={withBlockMeta} />;
case "text-video":
return <TextVideoBlock blockId={id} content={content} readOnly />;
return <TextVideoBlock blockId={id} content={content} readOnly onWatchProgress={withBlockMeta} />;
case "audio":
return <AudioBlock content={content} onWatchProgress={withBlockMeta} />;
case "code":