feat: add danmuku plugin documentation and i18n setup instructions

- Created a new documentation file for the danmuku plugin with code examples.
- Added comprehensive language settings documentation, including default languages, importing languages, adding new languages, and modifying existing languages.
- Updated the i18n setup examples to reflect the latest changes in language handling.
This commit is contained in:
Harvey Zack committed 2025-08-03 18:21:59 +08:00
1 parent 9d966bf696
commit e947be8a8e
67 files changed
+216 -198

No files matched your search

+5 -7
View File
@@ -1,10 +1,3 @@
import type SubtitlesOctopus from '@hrgui/libass-wasm-ts'
import type Artplayer from 'artplayer'
import type { Options } from 'libass-wasm'
export = artplayerPluginAss
export as namespace artplayerPluginAss;
declare const artplayerPluginAss: (options: Options) => (art: Artplayer) => {
name: 'artplayerPluginLibass'
libass: SubtitlesOctopus
@@ -15,3 +8,8 @@ declare const artplayerPluginAss: (options: Options) => (art: Artplayer) => {
hide: () => void
destroy: () => void
}
export default artplayerPluginAss
export = artplayerPluginLibass;
export as namespace artplayerPluginLibass;