mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-11 05:26: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.
18 lines
375 B
TypeScript
18 lines
375 B
TypeScript
interface Option {
|
|
url?: string
|
|
width?: number
|
|
number?: number
|
|
scale?: number
|
|
}
|
|
|
|
interface Result {
|
|
name: 'artplayerPluginAutoThumbnail'
|
|
}
|
|
|
|
declare const artplayerPluginAutoThumbnail: (option: Option) => (art: Artplayer) => Result
|
|
|
|
export default artplayerPluginAutoThumbnail
|
|
|
|
export = artplayerPluginAutoThumbnail
|
|
export as namespace artplayerPluginAutoThumbnail;
|