feat: add danmuku plugin and i18n support in React template

- Implemented a new danmuku plugin in the React template for displaying bullet comments.
- Added internationalization (i18n) support with French and Indonesian languages.
- Updated the App component to include the new Player component with options for video playback.
- Enhanced the Player component to initialize Artplayer with plugins and language settings.
- Created separate files for App and Player components to improve code organization.
- Added example usage of language settings and plugins in the Player component.
This commit is contained in:
Harvey Zack committed 2025-09-06 13:17:20 +08:00
1 parent 811d83f463
commit fd9aeddbed
73 files changed
+196 -152

No files matched your search

@@ -10,6 +10,9 @@
"preview": "vite preview"
},
"dependencies": {
"artplayer": "^5.3.0-beta.2",
"artplayer-plugin-danmuku": "^5.1.8",
"artplayer-plugin-document-pip": "^1.0.1",
"react": "^19.1.1",
"react-dom": "^19.1.1"
},