mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-24 06:31:20 -08:00
feat: add i18n support documentation and language import examples
- Created a new documentation file for language settings in i18n. - Added examples for setting default languages and importing additional languages. - Included instructions for adding and modifying languages in the ArtPlayer plugin. - Introduced a new plugin: artplayer-plugin-liquid-glass with various build formats (legacy, mjs, etc.).
This commit is contained in:
1 parent
01d8dc680c
commit
dbeaba78e6
49 files changed
+132
-66
No files matched your search
@@ -63,6 +63,7 @@
|
||||
'./assets/ts/artplayer-plugin-vast.d.ts',
|
||||
'./assets/ts/artplayer-plugin-vtt-thumbnail.d.ts',
|
||||
'./assets/ts/artplayer-plugin-document-pip.d.ts',
|
||||
'./assets/ts/artplayer-plugin-liquid-glass.d.ts',
|
||||
'./assets/ts/artplayer-proxy-canvas.d.ts',
|
||||
'./assets/ts/artplayer-proxy-mediabunny.d.ts',
|
||||
'./assets/ts/artplayer.d.ts',
|
||||
|
||||
@@ -0,0 +1,16 @@
|
||||
interface Option {
|
||||
'width': string
|
||||
'max-width': string
|
||||
'min-width': string
|
||||
}
|
||||
|
||||
interface Result {
|
||||
name: 'artplayerPluginLiquidGlass'
|
||||
}
|
||||
|
||||
declare const artplayerPluginLiquidGlass: (option?: Option) => (art: Artplayer) => Result
|
||||
|
||||
export default artplayerPluginLiquidGlass
|
||||
|
||||
export = artplayerPluginLiquidGlass
|
||||
export as namespace artplayerPluginLiquidGlass;
|
||||
Reference in new issue
Block a user