Skip to content

VAST Error: timeout while waiting for the video to start playing #17

Description

@selimonline

Dear,

I am trying to run a vpaid ads here (https://editorsdepot.com/video/videojs/vast.php). 90% times I can see this error (VAST Error: timeout while waiting for the video to start playing). And sometimes (10% times), I can see ads. Can anyone please help me, what's wrong exactly. Things need to mention, these ads(tags) works 100% times in jwplayer...
Here is my full code :

<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>Document</title>
  <link href="https://vjs.zencdn.net/5.9.2/video-js.css" rel="stylesheet">
  <link href="vast/videojs.vast.vpaid.min.css" rel="stylesheet">

</head>
<body>
  <video id="videojsPlayer" class="video-js vjs-default-skin"
      controls preload="auto" width="640" height="360"
      poster="https://d1sinn63yldtx0.cloudfront.net/thumbnails/thumbnails-ed_SBQceGipWuIxIxHA-00002.jpg">

      <source src="https://d1sinn63yldtx0.cloudfront.net/videos/edvideos_gvynSbFA_mp4_480x270.mp4" type="video/mp4" label="480p" res="480" />
  </video>
  <script src="https://vjs.zencdn.net/5.9.2/video.js"></script>

  <!-- vast loads js -->
  <script src="vast/videojs_5.vast.vpaid.min.js"></script>

<script>
  var videojsPlayer = videojs('videojsPlayer');
  videojsPlayer.vastClient({
    adTagUrl : "https://wlmad.ads.tremorhub.com/ad/tag?adCode=9e6km&playerWidth=480&playerHeight=270&mediaId=2008&mediaTitle=Stripes%20Multicolor%20Blender%20only%20Intro%20template&mediaDesc=Cool%20stripes%20multicolor%20Blender%20only%20Intro%20template.%20This%20is%20a%20free%20video%20template.&mediaUrl=https://editorsdepot.com/embed/stripes-multicolor-blender-only-intro-template&srcPageUrl=https://editorsdepot.com/stripes-multicolor-blender-only-intro-template",
    adsEnabled : true,
    autoResize : true,
    playAdAlways: true,
    adsCancelTimeout: 5000,
    vpaidFlashLoaderPath: 'vast2/VPAIDFlash.swf'
  });
</script>

</body>
</html>

Thanks in advance....

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions