OGPlayer Web SDK
    Preparing search index...

    Class FreewheelAdsProvider

    SPI for a client-side ads integration (Google IMA HTML5, future slot providers) — the web mirror of the mobile AdsProvider SPI. Opt-in: apps that never touch ads load none of this.

    Implements

    Index
    usesContentVideoElement: true

    FW's HTML5 VideoRenderer plays ads IN the content element by design (this._adVideo = getContentVideoElement() in AdManager.js) — the engine releases the element around breaks and restores content after.

    • Wire the provider to the content element and the ad UI container. Called before the first requestAds, and again whenever the host's video element or ad container changes (a re-mounted ad layer) — a provider must adopt the new nodes and release anything bound to the old ones.

      Parameters

      Returns void