Video Player Bidding

All the benefits of Header Bidding are now built directly into your JW Player. With a simple one-click integration, you get access to quality advertising demand at scale with reduced latency.

License: Enterprise
Player Version:
Author: Ian Boynton | GitHub
This demo includes:
  • on('adImpression')
  • on('adBidRequest')
  • on('adBidResponse')

This page demonstrates JW Player's Video Player Bidding solution powered by SpotX.
For more information, see our Getting Started guide.

(no ad bid request yet)

(no ad bid response yet)

(no ad impression yet)

Select Mediation Layer

var playerInstance = jwplayer("myElement")
playerInstance.setup({
    "file": "https://content.jwplatform.com/videos/1g8jjku3-cIp6U8lV.mp4",
    "image": "http://d3el35u4qe4frz.cloudfront.net/bkaovAYt-480.jpg",
    "advertising": {
        "client": "googima",
        "schedule": {
            "adBreak": {
                "tag": "//pubads.g.doubleclick.net/gampad/ads?sz=640x480&iu=/137679306/HB_Dev_Center_Example&impl=s&gdfp_req=1&env=vp&output=vast&unviewed_position_start=1&correlator=",
                "offset": "pre"
            }
        },
        "bids": {
            "settings": {
                "mediationLayerAdServer": "dfp",
                "floorPriceCents": 2,
                "floorPriceCurrency": "usd",
                "bidTimeout": 1000
            },
            "bidders": [
                {
                    "name": "SpotX",
                    "id": "85394"
                }
            ]
        }
    }
});var playerInstance = jwplayer("myElement")
playerInstance.setup({
    "file": "https://content.jwplatform.com/videos/1g8jjku3-cIp6U8lV.mp4",
    "image": "http://d3el35u4qe4frz.cloudfront.net/bkaovAYt-480.jpg",
    "advertising": {
        "client": "googima",
        "schedule": {
            "adBreak": {
                "tag": "//pubads.g.doubleclick.net/gampad/ads?sz=640x480&iu=/124319096/external/single_ad_samples&ciu_szs=300x250&impl=s&gdfp_req=1&env=vp&output=vast&unviewed_position_start=1&cust_params=sample_ct%3Dskippablelinear&correlator=",
                "offset": "pre"
            }
        },
        "bids": {
            "settings": {
                "mediationLayerAdServer": "jwp",
                "floorPriceCents": 2,
                "floorPriceCurrency": "usd",
                "bidTimeout": 1000
            },
            "bidders": [
                {
                    "name": "SpotX",
                    "id": "85394"
                }
            ]
        }
    }
});
Please Note: This player implementation is a Proof of Concept only provided to show the possibilities of the JW Player and Platform and should not be taken as an offer to create, edit or maintain custom integration or development.