mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-26 00:31:20 -08:00
Fix minor bugs and remove loop control
This commit is contained in:
1 parent
4e139ab6f0
commit
cf8cea8283
12 files changed
+407
-569
No files matched your search
Vendored
-2
@@ -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;
|
||||
|
||||
Vendored
-1
@@ -62,6 +62,5 @@ export type Events = {
|
||||
seek: [currentTime: number];
|
||||
subtitleOffset: [offset: number];
|
||||
restart: [url: string];
|
||||
loop: [start?: number, end?: number];
|
||||
muted: [state: boolean];
|
||||
};
|
||||
Vendored
-2
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user