MMEDIARAZZIVIDEO AD SERVING TECHNOLOGY
TUBE SITES AND PLAYERS

Video.js pre-roll setup

Video.js needs a VAST-capable advertising integration such as Google IMA; the core player alone does not automatically play VAST.

What you need to know

Video.js needs a VAST-capable advertising integration such as Google IMA; the core player alone does not automatically play VAST.

Step by step

  1. Confirm your site actually uses Video.js.
  2. Make sure the Video.js advertising and IMA integration is installed and initialized correctly.
  3. Create and copy a MEDIARAZZI VAST tag.
  4. Set the integration’s adTagUrl or equivalent option to the tag URL.
  5. Start playback using a user gesture and verify the advertisement runs before content.
  6. Inspect the player console if an ad fails.

Tips and common mistakes

  • Google IMA may require an explicit user gesture for sound or playback.
  • The player is responsible for ad start timing and content resumption.

Further reading

Video.js developer integration guide →

Need more help? If a player rejects your tag, check the VAST Testing Lab and the developer troubleshooting guide. MEDIARAZZI serves the ad; your video player determines when it plays.