feat: add danmuku plugin documentation and i18n setup guide

- Created a new documentation file for the danmuku plugin with code examples.
- Added comprehensive i18n setup instructions, including default language settings, language imports, and examples for adding and modifying languages.
- Updated the structure and content of the i18n documentation to enhance clarity and usability.
This commit is contained in:
Harvey Zack committed 2025-09-06 13:48:25 +08:00
1 parent 18475f08fd
commit 5b1cebb334
82 files changed
+268 -174

No files matched your search

@@ -1,6 +1,6 @@
/*!
* artplayer-plugin-danmuku.js v5.1.9
* artplayer-plugin-danmuku.js v5.2.0
* Github: https://github.com/zhw2590582/ArtPlayer
* (c) 2017-2025 Harvey Zack
* Released under the MIT License.
@@ -1,6 +1,6 @@
/*!
* artplayer-plugin-danmuku.js v5.1.9
* artplayer-plugin-danmuku.js v5.2.0
* Github: https://github.com/zhw2590582/ArtPlayer
* (c) 2017-2025 Harvey Zack
* Released under the MIT License.
@@ -1,6 +1,6 @@
/*!
* artplayer-plugin-danmuku.js v5.1.9
* artplayer-plugin-danmuku.js v5.2.0
* Github: https://github.com/zhw2590582/ArtPlayer
* (c) 2017-2025 Harvey Zack
* Released under the MIT License.
@@ -1,6 +1,6 @@
{
"name": "artplayer-plugin-danmuku",
"version": "5.1.9",
"version": "5.2.0",
"description": "Danmuku plugin for ArtPlayer",
"author": "Harvey Zack <laozhaochaguan@gmail.com>",
"license": "MIT",
@@ -19,9 +19,14 @@
],
"exports": {
".": {
"types": "./types/artplayer-plugin-danmuku.d.ts",
"import": "./dist/artplayer-plugin-danmuku.mjs",
"require": "./dist/artplayer-plugin-danmuku.js",
"types": "./types/artplayer-plugin-danmuku.d.ts"
"require": "./dist/artplayer-plugin-danmuku.js"
},
"./legacy": {
"types": "./types/artplayer-plugin-danmuku.d.ts",
"import": "./dist/artplayer-plugin-danmuku.legacy.js",
"require": "./dist/artplayer-plugin-danmuku.legacy.js"
}
},
"main": "./dist/artplayer-plugin-danmuku.js",