-
-
Notifications
You must be signed in to change notification settings - Fork 269
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
486b4cb
commit 6f11312
Showing
172 changed files
with
2,276 additions
and
4,223 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,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
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; |
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
Oops, something went wrong.