This commit is contained in:
Harvey committed 2022-06-20 16:27:06 +08:00
1 parent ff1f38aeb7
commit 9716f97a51
5 files changed
+69 -19

No files matched your search

+3 -3
View File
@@ -7,10 +7,10 @@ var art = new Artplayer({
plugins: [
artplayerPluginAds({
// html广告,假如是视频广告则忽略该值
html: '<img src="/assets/sample/layer.png">',
html: '<img src="/assets/sample/poster.jpg">',
// 视频广告
// video: '/assets/sample/test1.mp4',
video: '/assets/sample/test1.mp4',
// 广告跳转网址,为空则不跳转
url: 'http://artplayer.org',
@@ -18,7 +18,7 @@ var art = new Artplayer({
// 必须观看的时长,期间不能被跳过
playDuration: 5,
// 广告总时长,假如是视频广告则自动获取
// 广告总时长
totalDuration: 10,
// 多语言