mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-18 10:41: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 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.
This commit is contained in:
1 parent
687a34c6b3
commit
cfaaea6a5c
72 files changed
+436
-392
No files matched your search
@@ -1,3 +1,4 @@
|
||||
// https://github.com/sb2702/websr
|
||||
// npm i artplayer-plugin-websr
|
||||
// import artplayerPluginWebsr from 'artplayer-plugin-websr';
|
||||
|
||||
@@ -7,6 +8,7 @@ var art = new Artplayer({
|
||||
fullscreenWeb: true,
|
||||
plugins: [
|
||||
artplayerPluginWebsr({
|
||||
videoScale: 2,
|
||||
networkSize: 'medium',
|
||||
weightsBaseUrl: '/assets/websr/weights',
|
||||
workerUrl: '/assets/websr/worker/main.js',
|
||||
|
||||
Reference in new issue
Block a user