API Reference

Player Components

box icon

Initialization & Configuration

API key/partner ID, viewability, listening to player events, simple vs. async initialization, etc.

box icon

Video Content Settings

Basic settings (URL, title, etc.), thumbnail previews, playlists, etc.

box icon

Ad Settings

Ad schedule (pre- and post-roll), autoplay, loop, ad rotation, Google IMAs, muting/unmuting ads, etc.

box icon

Player Methods

Learn how to pause, play, mute, etc.

box icon

Player Events

Listen to player events such as playerDone and paused to perform operations.

box icon

Ad Events

Learn how to capture all the ad events (AdStarted, AdLoaded, AdImpression, AdError, etc.) according to IAB spec.