mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-26 00:31:20 -08:00
feat: add danmuku plugin documentation and i18n setup guide
- Created a new documentation file for the danmuku plugin with code examples. - Added comprehensive i18n (internationalization) setup instructions, including default language settings, language imports, and examples for adding and modifying languages. - Updated the structure of the i18n documentation for better clarity and usability.
This commit is contained in:
1 parent
736a6c1973
commit
811d83f463
51 files changed
+93
-111
No files matched your search
@@ -15,11 +15,11 @@
|
||||
"artplayer": "^5.3.0-beta.2",
|
||||
"artplayer-plugin-danmuku": "^5.1.8",
|
||||
"artplayer-plugin-document-pip": "^1.0.1",
|
||||
"vue": "^3.5.18"
|
||||
"vue": "^3.5.21"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@vitejs/plugin-vue": "^6.0.1",
|
||||
"vite": "^7.0.6",
|
||||
"vite-plugin-vue-devtools": "^8.0.0"
|
||||
"vite": "^7.1.4",
|
||||
"vite-plugin-vue-devtools": "^8.0.1"
|
||||
}
|
||||
}
|
||||
@@ -21,6 +21,7 @@ const $container = ref(null)
|
||||
onMounted(() => {
|
||||
art.value = new Artplayer({
|
||||
...props.option,
|
||||
url: props.option.url,
|
||||
container: $container.value,
|
||||
i18n: { id, fr },
|
||||
lang: 'fr',
|
||||
|
||||
Reference in new issue
Block a user