Freewheel Advertising

Using FreeWheel as your ad manager allows for leveraging the control FreeWheel's platform provides.

License: Enterprise
Player Version:
Author: Alex Bussey | GitHub

Using FreeWheel as your ad manager requires an existing relationship with FreeWheel and access to the FreeWheel dashboard for configuration. Note that no ad tag is supplied to the player, rather values that link up to the setup configured within the FreeWheel platform.

<script type="text/javascript">

const playerInstance = jwplayer('player');

playerInstance.setup({
  file: '//content.jwplatform.com/videos/3XnJSIm4-injeKYZS.mp4',
  fwassetid: 'jw_test_asset_h',
  duration: 500,
  advertising: {
    client: 'freewheel',
    freewheel: {
      networkid: 90750,
      // The 'adManagerUrl' specified below should
      // be the URL you receive from Freewheel.
      adManagerUrl: "https://mssl.fwmrm.net/p/jw_html5_test/AdManager.js",
      serverid: "https://demo.v.fwmrm.net/ad/g/1",
      profileid: "90750:jw_html5_test",
      sectionid: "jw_test_site_section"
    },
    adscheduleid: '12345',
    schedule: {
      adbreak: {
        offset: 'pre',
        tag: 'placeholder_preroll'
      }
    },
    vpaidcontrols: true,
    skipoffset: 3
  }
});
</script>
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.