mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-15 00:56:16 -08:00
21 lines
461 B
TypeScript
21 lines
461 B
TypeScript
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;
|