-
-
Notifications
You must be signed in to change notification settings - Fork 275
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
039b7ca
commit 52ffea8
Showing
176 changed files
with
2,478 additions
and
4,315 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
import type Artplayer from 'artplayer'; | ||
|
||
export = artplayerPluginAmbilight; | ||
export as namespace artplayerPluginAmbilight; | ||
|
||
type Option = { | ||
blur: string; | ||
opacity: number; | ||
frequency: number; | ||
zIndex: number; | ||
duration: number; | ||
}; | ||
|
||
type Result = { | ||
name: 'artplayerPluginAmbilight'; | ||
start: () => void; | ||
stop: () => void; | ||
}; | ||
|
||
declare const artplayerPluginAmbilight: (option: Option) => (art: Artplayer) => Result; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
import type Artplayer from 'artplayer'; | ||
|
||
export = artplayerPluginAutoThumbnail; | ||
export as namespace artplayerPluginAutoThumbnail; | ||
|
||
type Option = { | ||
url?: string; | ||
width?: number; | ||
height?: number; | ||
scale?: number; | ||
}; | ||
|
||
type Result = { | ||
name: 'artplayerPluginAutoThumbnail'; | ||
}; | ||
|
||
declare const artplayerPluginAutoThumbnail: (option: Option) => (art: Artplayer) => Result; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
import type Artplayer from 'artplayer'; | ||
|
||
export = artplayerPluginChapter; | ||
export as namespace artplayerPluginChapter; | ||
|
||
type Chapters = { | ||
start: number; | ||
end: number; | ||
title: string; | ||
}[]; | ||
|
||
type Option = { | ||
chapters?: Chapters; | ||
}; | ||
|
||
type Result = { | ||
name: 'artplayerPluginChapter'; | ||
update: (option: Option) => void; | ||
}; | ||
|
||
declare const artplayerPluginChapter: (option: Option) => (art: Artplayer) => Result; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
import type Artplayer from 'artplayer'; | ||
|
||
export = artplayerPluginDanmukuMask; | ||
export as namespace artplayerPluginDanmukuMask; | ||
|
||
type Option = { | ||
solutionPath?: string; | ||
modelSelection?: number; | ||
smoothSegmentation?: boolean; | ||
minDetectionConfidence?: number; | ||
minTrackingConfidence?: number; | ||
selfieMode?: boolean; | ||
drawContour?: boolean; | ||
foregroundThreshold?: number; | ||
opacity?: number; | ||
maskBlurAmount?: number; | ||
}; | ||
|
||
type Result = { | ||
name: 'artplayerPluginDanmukuMask'; | ||
start: () => Promise<void>; | ||
stop: () => void; | ||
}; | ||
|
||
declare const artplayerPluginDanmukuMask: (option?: Option) => (art: Artplayer) => Result; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
import type Artplayer from 'artplayer'; | ||
|
||
export = artplayerPluginHlsControl; | ||
export as namespace artplayerPluginHlsControl; | ||
|
||
type Config = { | ||
control?: boolean; | ||
setting?: boolean; | ||
title?: string; | ||
auto?: string; | ||
getName?(level: object): String; | ||
}; | ||
|
||
declare const artplayerPluginHlsControl: (option: { quality?: Config; audio?: Config }) => (art: Artplayer) => { | ||
name: 'artplayerPluginHlsControl'; | ||
update: () => void; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
import type Artplayer from 'artplayer'; | ||
|
||
export = artplayerPluginVast; | ||
export as namespace artplayerPluginVast; | ||
|
||
type Option = (params: { | ||
art: Artplayer; | ||
id: string; | ||
ima: any; | ||
imaPlayer: any; | ||
$container: HTMLDivElement; | ||
playUrl: (url: string) => void; | ||
playRes: (res: string) => void; | ||
}) => void; | ||
|
||
type Result = { | ||
name: 'artplayerPluginVast'; | ||
}; | ||
|
||
declare const artplayerPluginVast: (option: Option) => (art: Artplayer) => Result; |
Oops, something went wrong.