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