FAQ: Why does a gray box remain after an ad has played?

A gray box remains to prevent a negative user experience.

If the player disappears after an ad completes, the adjustment of the page content may cause a negative user experience. Therefore, a gray background persists after an ad has completed.

You can customize this behavior by defining the endstate property.

jwplayer("myOutstreamElement").setup({
  advertising: {
    client: "vast",
    endstate: "suspended",
    outstream: true,
    adscheduleid: "00000000",
    tag: "https://www.domain.com/myAdTag.xml",
    displayHeading: true
  }
});
PropertyDescription
endstate stringPlayer behavior after all ads within the ad break have played

See also: endstate in the advertising object

📘

RELATED

Embed an outstream player


Did this page help you?