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

+1
View File
@@ -767,6 +767,7 @@ export type I18n = Partial<Record<I18nKeys, Partial<I18nValue>>>
declare module "artplayer/i18n/*" {
const lang: Partial<I18nValue>
// @ts-ignore
export default lang
}