Namespace: Settings

Settings

Hybrid ad player settings

Members


<static> RenderingMode :string

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.

Type:
  • string
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).


<static> SCALING

Scaling mode. If auto is used, the ad player tries to automatically resize using to 100% CSS rules

Properties:
Name Type Default Description
AUTO -1

Automatic mode. The ad player sets its container dimensions to 100%


<static> VPAIDViewMode :string

VPAID View mode

Type:
  • string
Properties:
Name Type Default Description
NORMAL string normal
FULLSCREEN string fullscreen
THUMBNAIL string thumbnail