Delete unused files

This commit is contained in:
Harvey Zack committed 2023-12-11 16:23:23 +08:00
1 parent d3d8229496
commit 8d4749c839
117 files changed
+195 -1300

No files matched your search

+17
View File
@@ -0,0 +1,17 @@
import type Artplayer from 'artplayer';
import type SubtitlesOctopus from "@hrgui/libass-wasm-ts"
import { type Options } from "libass-wasm"
export = artplayerPluginAss
export as namespace artplayerPluginAss
declare const artplayerPluginAss: (options: Options) => (art: Artplayer) => {
name: 'artplayerPluginLibass';
libass: SubtitlesOctopus;
visible: boolean;
init: () => void;
switch: (url: string) => void;
show: () => void;
hide: () => void;
destroy: () => void;
};
+16
View File
@@ -0,0 +1,16 @@
import type Artplayer from 'artplayer';
export = artplayerPluginMultipleSubtitles;
export as namespace artplayerPluginMultipleSubtitles;
declare const artplayerPluginMultipleSubtitles: (option: {
subtitles: {
url?: string;
name?: string;
type?: 'vtt' | 'srt' | 'ass';
encoding?: string;
onParser?(...args: object[]): object;
}[];
}) => (art: Artplayer) => {
name: 'multipleSubtitles';
};
+10
View File
@@ -0,0 +1,10 @@
import type Artplayer from 'artplayer';
export = artplayerPluginVttThumbnail;
export as namespace artplayerPluginVttThumbnail;
declare const artplayerPluginVttThumbnail: (option: { vtt?: string; style?: Partial<CSSStyleDeclaration> }) => (
art: Artplayer,
) => {
name: 'artplayerPluginVttThumbnail';
};
+5 -7
View File
@@ -254,8 +254,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;
@@ -639,8 +637,9 @@ type I18nKeys =
| 'es'
| 'fa'
| 'fr'
| `id`
| `ru`
| 'id'
| 'ru'
| 'tr'
| (string & Record<never, never>);
type I18nValue = {
@@ -748,7 +747,6 @@ export type Events = {
seek: [currentTime: number];
subtitleOffset: [offset: number];
restart: [url: string];
loop: [start?: number, end?: number];
muted: [state: boolean];
};
@@ -764,7 +762,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;
@@ -772,7 +769,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;
@@ -1065,6 +1061,8 @@ declare class Artplayer extends Player {
static ASPECT_RATIO: string[];
static FLIP: string[];
static FULLSCREEN_WEB_IN_BODY: boolean;
static LOG_VERSION: boolean;
static USE_RAF: boolean;
readonly id: number;
readonly option: Option;