mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-20 20:21:20 -08:00
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:
1 parent
811d83f463
commit
fd9aeddbed
73 files changed
+196
-152
No files matched your search
Vendored
+1
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user