Namespace: RenderingMode

.Settings. RenderingMode

Platform settings for the ad player, whether HTML5 or Flash playback should be available and/or preferred.

Note that Flash is required (any flag except HTML5_ONLY) for playback of VPAID1 ads; conversely, any flag except FLASH_ONLY is required for playback of VPAID2 ads.

Properties:
Name Type Default Description
HTML5_FIRST string HTML5_FIRST

Render the ads in HTML5 if possible. If not (like for VPAID 1 ads), use the Flash ad player.

FLASH_FIRST string FLASH_FIRST

Render the ads in Flash if possible. If not (like for VPAID 2 ads), use the HTML5 ad player.

HTML5_ONLY string HTML5_ONLY

Render all the ads in HTML5 (No VPAID 1 ads will be displayed).

FLASH_ONLY string FLASH_ONLY

Render all the ads in Flash (No VPAID 2 ads will be displayed).

Members


<static> FLASH_FIRST :string

Render the ads in Flash if possible. If not (like for VPAID 2 ads), use the HTML5 ad player.

Type:
  • string
Default Value:
  • FLASH_FIRST

<static> FLASH_ONLY :string

Render all the ads in Flash (No VPAID 2 ads will be displayed).

Type:
  • string
Default Value:
  • FLASH_ONLY

<static> HTML5_FIRST :string

Render the ads in HTML5 if possible. If not (like for VPAID 1 ads), use the Flash ad player.

Type:
  • string
Default Value:
  • HTML5_FIRST

<static> HTML5_ONLY :string

Render all the ads in HTML5 (No VPAID 1 ads will be displayed).

Type:
  • string
Default Value:
  • HTML5_ONLY