mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-19 03:11:20 -08:00
update
This commit is contained in:
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;
|
||||
|
||||
Reference in new issue
Block a user