mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-27 09:41:20 -08:00
feat: update subtitle handling to support multiple active cues and improve rendering logic
This commit is contained in:
1 parent
3d33458efc
commit
8ea85476e0
5 files changed
+64
-29
No files matched your search
+2
-2
@@ -153,8 +153,8 @@ declare class Artplayer extends Player {
|
||||
get url(): string;
|
||||
set url(url: string);
|
||||
get textTrack(): TextTrack;
|
||||
get activeCue(): VTTCue;
|
||||
get cues(): TextTrackCueList;
|
||||
get activeCues(): VTTCue[];
|
||||
get cues(): VTTCue[];
|
||||
style(name: string | Partial<CSSStyleDeclaration>, value?: string): void;
|
||||
switch(url: string, option?: Subtitle): Promise<string>;
|
||||
} & Component;
|
||||
|
||||
Reference in new issue
Block a user