mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-10 12:46:15 -08:00
- Created a new documentation file for the danmuku plugin with code examples. - Added a comprehensive guide for language settings (i18n) including default languages, importing languages, adding new languages, and modifying existing languages. - Included code snippets for initializing the Artplayer with different language configurations.
21 lines
454 B
TypeScript
21 lines
454 B
TypeScript
interface Option {
|
|
compare?: boolean
|
|
networkSize?: 'small' | 'medium' | 'large'
|
|
weightsBaseUrl?: string
|
|
workerUrl?: string
|
|
videoScale?: number
|
|
}
|
|
|
|
interface Result {
|
|
name: 'artplayerPluginWebsr'
|
|
upscaler: any
|
|
update: (option: Option) => void
|
|
}
|
|
|
|
declare const artplayerPluginWebsr: (option?: Option) => (art: Artplayer) => Result
|
|
|
|
export default artplayerPluginWebsr
|
|
|
|
export = artplayerPluginWebsr
|
|
export as namespace artplayerPluginWebsr;
|