mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-26 00:31:20 -08:00
update ads
This commit is contained in:
1 parent
66c6bc667c
commit
e394b73553
3 files changed
+3
-5
No files matched your search
@@ -105,9 +105,7 @@ export default function artplayerPluginAds(option) {
|
||||
$ads = append(
|
||||
art.template.$ads,
|
||||
option.video
|
||||
? `<video class="artplayer-plugin-ads-video" src="${option.video}" ${
|
||||
option.muted ? 'muted' : ''
|
||||
} loop playsInline></video>`
|
||||
? `<video class="artplayer-plugin-ads-video" src="${option.video}" loop playsInline></video>`
|
||||
: `<div class="artplayer-plugin-ads-html">${option.html}</div>`,
|
||||
);
|
||||
|
||||
|
||||
Reference in new issue
Block a user