mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-25 08:01:20 -08:00
update
This commit is contained in:
1 parent
3dea070ade
commit
830720790e
6 files changed
+47
-143
No files matched your search
@@ -149,7 +149,14 @@ 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: { utils: { query , append , setStyle } , } , } = art;
|
||||
const { 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;
|
||||
|
||||
Reference in new issue
Block a user