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

+7 -4
View File
@@ -1,6 +1,6 @@
{
"name": "artplayer",
"version": "5.3.0-beta.2",
"version": "5.3.0-beta.3",
"description": "ArtPlayer.js is a modern and full featured HTML5 video player",
"author": "Harvey Zack <laozhaochaguan@gmail.com>",
"license": "MIT",
@@ -20,15 +20,18 @@
"exports": {
".": {
"import": "./dist/artplayer.mjs",
"require": "./dist/artplayer.js"
"require": "./dist/artplayer.js",
"types": "./types/artplayer.d.ts"
},
"./legacy": {
"import": "./dist/artplayer.legacy.js",
"require": "./dist/artplayer.legacy.js"
"require": "./dist/artplayer.legacy.js",
"types": "./types/artplayer.d.ts"
},
"./i18n/*": {
"import": "./dist/i18n/*.mjs",
"require": "./dist/i18n/*.js"
"require": "./dist/i18n/*.js",
"types": "./types/i18n.d.ts"
}
},
"typesVersions": {