This commit is contained in:
Harvey committed 2022-06-20 17:52:00 +08:00
1 parent 3dea070ade
commit 830720790e
6 files changed
+47 -143

No files matched your search

@@ -6,10 +6,19 @@ export default function artplayerPluginAds(option) {
template: { $player },
icons: { volume, volumeClose, fullscreenOn, fullscreenOff },
constructor: {
validator,
utils: { query, append, setStyle },
},
} = art;
option = validator(option, {
html: '?string',
video: '?string',
url: '?string',
playDuration: '?number',
totalDuration: '?number',
});
let $ads = null;
let $timer = null;
let $close = null;