mid-roll ads

  抱歉,这篇文章有英文版

Mid-roll ads are advertising clips that appear during the video playback. To launch an enabled ad campaign as a mid-roll you must specify the Time in seconds or the percentage of the playback duration.

In this example, the mid-roll will start at 10 seconds, then at 20, and in the middle of playback (50%). You can also specify the metadata value for the time and the mid-roll starts at the moment the metadata is received.

The second and third mid-roll are added to the queue to the first one. If the OR logic is enabled, the first working advertisement will be shown.

If you specify a start time for the second and third mid-rolls, they will also start at the specified time.

If you jump to the end of the video, all the mid-rolls will starts. To avoid this, enable the Activity Interval and set the value in seconds.

If the fast forward is within this interval (in this example 10 seconds) from the starting point, then the mid-roll will work. If further, the mid-roll will not work.

Any advertisement on mobile platforms that starts without user gesture (mid-rolls and pos-rolls) is launched muted.

You can also connect the mid-rolls in the code with the id.

midroll:[{time:"5", vast:"id:XXX or id:YYY"}, {time:"50%", vast:"id:ZZZ", minduration:100}]

20.0.0
2024 © PlayerJS

登录

登录

免费注册

注册
注册即表示您同意服务条款
登录(如果您有帐户)

恢复密码

恢复
忘记电子邮件?联系我们