Table of contents of this page:

Welcome to Viblast Documentation

Everything you need to know about Viblast Solutions. For more information contact us.

Viblast Documentation

Viblast Player with VAST for Video.js

If you're using Viblast Player together with Video.js and find yourself in need of a VAST solution, we offer a seamless integration with Video.js videojs-vast-vpaid plugin for your scenario. Here's how to set it up.

  • Add viblast, videojs and videojs-vast-vpaid to your page
        <!-- videojs -->
        <link rel="stylesheet" href="">
        <script type="text/javascript" src=""></script>

        <!-- videojs-vast-vpaid -->
        <link href="" rel="stylesheet">
        <script src=""></script>

        <!-- viblast -->
        <script src="//"></script>
  • Place the video tag that's going to be used for video.js on your page with the proper videojs-vast-vpaid plugin configuration
        <video id="vid1" class="video-js vjs-default-skin vjs-big-play-centered" controls
            "plugins": {
                    "vastClient": {
                    "adTagUrl": ",728x90&impl=s&gdfp_req=1&env=vp&output=xml_vast2&unviewed_position_start=1",
                    "adsCancelTimeout": 3000,
                    "adsEnabled": true,
                    "vpaidFlashLoaderPath": ""
         <source src="" type='application/x-mpegURL'>

Here you can find a complete example.