Fix: Add video preview #9869 (#10748)

### What problem does this PR solve?

Fix: Add video preview

### Type of change

- [x] Bug Fix (non-breaking change which fixes an issue)
This commit is contained in:
chanx
2025-10-23 14:25:05 +08:00
committed by GitHub
parent ac188b0486
commit 6d333ec4bc
4 changed files with 101 additions and 5 deletions

View File

@ -166,6 +166,7 @@ const Chunk = () => {
case 'doc':
return documentInfo?.name.split('.').pop() || 'doc';
case 'visual':
return documentInfo?.name.split('.').pop() || 'visual';
case 'docx':
case 'txt':
case 'md':