Non-linear video advertising

  Siamo spiacenti, questo articolo è disponibile in inglese

To display VAST ads in a non-linear mode (without interrupting playback), you can use mid-rolls with the following limitations:

  • ads start only in fullscreen mode (screen width must exceed 1000 pixels)
  • content playback is not paused
  • ads are muted

The ad is triggered during the main content playback at a specified time interval and occupies one-third of the screen width in the bottom-right corner.

The user can close the ad (a close button appears at the 3-second mark) or skip it if this option is enabled in the ad settings. If the user exits fullscreen mode, the ad will expand to fill the entire player, pause the main content, and enable sound.

How to enable

Enable the Non-linear ads support option in the module settings Advertising / Mid-rolls and add the nonlinear: 1 parameter to the configuration of the required mid-rolls.

midroll:[{time:"5", vast:"id:XXX", nonlinear:1}, {time:"50%", vast:"id:ZZZ"}]

The first mid-roll in this example will start in non-linear mode.


22.0.0
2026 © PlayerJS

Iscriviti gratuitamente

Iscriviti
Iscrivendosi, si accettano Termini di servizio
Login se si possiede un account

Ripristino della password

Ripristino
Hai dimenticato l'e-mail? Contattaci