mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-25 08:01:20 -08:00
add danmuku theme
This commit is contained in:
1 parent
ab5ab9b85a
commit
72a314590c
52 files changed
+171
-149
No files matched your search
@@ -89,6 +89,7 @@ var art = new Artplayer({
|
||||
maxLength: 100, // The maximum number of words that can be input can be input box
|
||||
minWidth: 200, // At the at least width of the input box
|
||||
maxWidth: 400, // Maximum width in the input box
|
||||
theme: 'dark', // The theme color of the input box
|
||||
beforeEmit: (danmu) => !!danmu.text.trim(), // Custom verification before the barrage emit
|
||||
mount: undefined, // Customized input box mount position
|
||||
}),
|
||||
|
||||
Reference in new issue
Block a user