mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-28 10:31:20 -08:00
add switcher
This commit is contained in:
1 parent
65fd3fb9e6
commit
74d637fc65
10 files changed
+248
-38
No files matched your search
+10
@@ -52,6 +52,16 @@ export default class Artplayer {
|
||||
name: string;
|
||||
url: string;
|
||||
}[];
|
||||
switcher?: {
|
||||
index?: number;
|
||||
click?: Function;
|
||||
name?: string;
|
||||
default?: string;
|
||||
list: {
|
||||
name: string;
|
||||
text: string;
|
||||
}[];
|
||||
}[];
|
||||
highlight?: {
|
||||
time: number;
|
||||
text: string;
|
||||
|
||||
Reference in new issue
Block a user