mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-18 10:41:20 -08:00
update
This commit is contained in:
1 parent
640360abd7
commit
ff1f38aeb7
5 files changed
+111
-42
No files matched your search
@@ -6,28 +6,22 @@ var art = new Artplayer({
|
||||
fullscreenWeb: true,
|
||||
plugins: [
|
||||
artplayerPluginAds({
|
||||
// html广告,假如存在视频广告则忽略该值
|
||||
html: '123456',
|
||||
// html广告,假如是视频广告则忽略该值
|
||||
html: '<img src="/assets/sample/layer.png">',
|
||||
|
||||
// 视频广告
|
||||
video: '',
|
||||
// video: '/assets/sample/test1.mp4',
|
||||
|
||||
// 广告跳转网址,为空则不跳转
|
||||
url: 'http://artplayer.org',
|
||||
|
||||
// 必须观看的时长,期间不能被跳过
|
||||
playDuration: 0,
|
||||
playDuration: 5,
|
||||
|
||||
// 广告总时长,假如是视频广告则自动获取
|
||||
totalDuration: 0,
|
||||
totalDuration: 10,
|
||||
|
||||
// 是否允许广告全屏
|
||||
fullscreen: true,
|
||||
|
||||
// 是否允许视频广告静音
|
||||
muted: true,
|
||||
|
||||
// 多语言支持
|
||||
// 多语言
|
||||
i18n: {
|
||||
//
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user