feat: add danmuku plugin documentation and i18n setup guide

- Created a new documentation file for the danmuku plugin, including code snippets for usage.
- Added a new i18n setup guide, detailing language settings, default languages, language imports, and how to add or modify languages.
- Included example code for initializing the Artplayer with different languages and importing language files.
This commit is contained in:
Harvey Zhao committed 2026-03-07 21:25:27 +08:00
1 parent bd43b6638d
commit 39a1fb1abd
82 files changed
+150499 -103

No files matched your search

+1 -1
View File
@@ -21,7 +21,7 @@ function getBanner(name, version) {
const BUILD_FORMATS = {
main: { format: 'umd', ext: '.js', target: 'es2020', minify: 'terser' },
legacy: { format: 'umd', ext: '.legacy.js', target: 'es2015', minify: 'terser' },
esm: { format: 'es', ext: '.mjs', target: 'es2020', minify: 'terser' },
esm: { format: 'es', ext: '.mjs', target: 'es2020', minify: false },
}
async function build(name, targetName, clean = false) {