feat(audio): add audio file preview support and enhance UI components

- Integrated audio file preview functionality in document content and preview components.
- Updated localization files to include audio-related messages.
- Enhanced the UI to display an audio player for supported audio formats.
- Implemented audio loading state and error handling for unsupported audio playback.
This commit is contained in:
wizardchen
2026-04-03 12:14:33 +08:00
committed by lyingbug
parent 39831fb61c
commit 155fc690a7
7 changed files with 123 additions and 6 deletions
+2
View File
@@ -3011,6 +3011,8 @@ export default {
unsupportedHint: 'Please download and open with a local application',
fullscreen: 'Fullscreen',
exitFullscreen: 'Exit Fullscreen',
audioLoading: 'Loading audio…',
audioNotSupported: 'Your browser does not support audio playback',
},
knowledgeSearch: {
title: 'Search',