Fix minor bugs and remove loop control

This commit is contained in:
Harvey Zack committed 2023-11-11 10:20:45 +08:00
1 parent 4e139ab6f0
commit cf8cea8283
12 files changed
+407 -569

No files matched your search

-2
View File
@@ -10,7 +10,6 @@ export type CssVar = {
'--art-progress-color': string;
'--art-hover-color': string;
'--art-loaded-color': string;
'--art-loop-color': string;
'--art-state-size': string;
'--art-state-opacity': number;
'--art-bottom-height': string;
@@ -18,7 +17,6 @@ export type CssVar = {
'--art-bottom-gap': string;
'--art-highlight-width': string;
'--art-highlight-color': string;
'--art-loop-width': string;
'--art-control-height': string;
'--art-control-opacity': number;
'--art-control-icon-size': string;
-1
View File
@@ -62,6 +62,5 @@ export type Events = {
seek: [currentTime: number];
subtitleOffset: [offset: number];
restart: [url: string];
loop: [start?: number, end?: number];
muted: [state: boolean];
};
-2
View File
@@ -31,8 +31,6 @@ export declare class Player {
set fullscreenWebToggle(state: boolean);
get loaded(): number;
get loadedTime(): number;
get loop(): number[];
set loop(value: number[]);
get mini(): boolean;
set mini(state: boolean);
get pip(): boolean;