Start a new topic

VAST with Viblast: The play() request was interrupted by a new load request.

Dear Viblast Community, 

I tried to implement the example VAST XML (skippable pre roll) from Google. Unfortunately when I click on play this error occurs ins the console. Sometimes the pre roll starts and the video also starts. Sometimes the video loads after 7 seconds and I have to click on play again.  

viblast.js:103 Uncaught (in promise) DOMException: The play() request was interrupted by a new load request.


  Here is my code:


  <link href="/js/vast/videojs-contrib-ads/" rel="stylesheet" type="text/css">
  <link href="/js/vast/videojs.vast.css" rel="stylesheet" type="text/css">

  <link href="" rel="stylesheet">
  <script src=""></script>

  <script src="/js/vast/vast-client.js"></script>
  <script src="/js/vast/videojs.vast.js"></script>
  <script src="/js/vast/videojs-contrib-ads/"></script>
  <script src="js/viblast/viblast.js"></script>


  <video id="vplayer" class="video-js vjs-default-skin"
    controls preload="false" width="640" height="264"
   <source src="test-video/index.m3u8" type='application/x-mpegURL' />

        var vastXML = '';

        var vid1 = videojs('vplayer');;
          url: vastXML



  Someone have a hint or an idea how to solve this?



2 people have this problem
Login to post a comment