This commit is contained in:
Harvey committed 2022-06-20 18:17:50 +08:00
1 parent 830720790e
commit 199c15ff3f
3 files changed
+7 -7

No files matched your search

@@ -149,13 +149,13 @@ var _styleLess = require("bundle-text:./style.less");
var _styleLessDefault = parcelHelpers.interopDefault(_styleLess);
function artplayerPluginAds(option) {
return (art)=>{
const { template: { $player } , icons: { volume , volumeClose , fullscreenOn , fullscreenOff } , constructor: { validator , utils: { query , append , setStyle } , } , } = art;
const { template: { $player } , icons: { volume , volumeClose , fullscreenOn , fullscreenOff } , constructor: { validator , utils: { query , append , setStyle , errorHandle } , } , } = art;
option = validator(option, {
html: "?string",
video: "?string",
url: "?string",
playDuration: "?number",
totalDuration: "?number"
playDuration: "number",
totalDuration: "number"
});
let $ads = null;
let $timer = null;