Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
selimonline opened this issue May 19, 2016 · 1 comment
Open

Comments

@selimonline
Copy link

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....

@ohadsas
Copy link

ohadsas commented Jun 6, 2016

+1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants