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

Help to integrate Vast/Vpaid Tags #317

Open
julieneperk opened this issue Aug 30, 2018 · 0 comments
Open

Help to integrate Vast/Vpaid Tags #317

julieneperk opened this issue Aug 30, 2018 · 0 comments

Comments

@julieneperk
Copy link

julieneperk commented Aug 30, 2018

been trying to figuring it for few hours already and it seems i cant. what did i missed? a help will be appreciated.


  | <!DOCTYPE html>
-- | --
  | <html lang="en">
  | <head>
  | <title>videojs-vpaid-test</title>
  | <script src="/cdn-cgi/apps/head/S3JjcFpzxmLLGkBi-k7yoR6TgVs.js"></script><link href="//vjs.zencdn.net/5.11/video-js.min.css" rel="stylesheet">
  | <link href="bin/videojs.vast.vpaid.css" rel="stylesheet">
  | <link rel="stylesheet" type="text/css" href="//mailonline.github.io/videojs-vast-vpaid/styles/videojs.vast.vpaid.css" />
  |  
  | <link rel="stylesheet" type="text/css" href="//mailonline.github.io/videojs-vast-vpaid/demo/styles/demo.css" />
  | <script type="application/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>
  | <script src="http://vjs.zencdn.net/5.10.2/video.js"></script>
  |  
  | <script type="text/javascript" src="//mailonline.github.io/videojs-vast-vpaid/scripts/es5-shim.js"></script>
  | <script type="text/javascript" src="//mailonline.github.io/videojs-vast-vpaid/scripts/ie8fix.js"></script>
  | <script type="text/javascript" src="//mailonline.github.io/videojs-vast-vpaid/scripts/videojs_5.vast.vpaid.js"></script>
  | </head>
  | <body>
  | <video id="example_video_1" class="video-js vjs-default-skin" controls="" preload="auto" width="580" height="320" poster="http://vjs.zencdn.net/v/oceans.png">
  | </video>
  | <script>
  | var player;
  | $(document).ready(function() {
  | player = videojs('example_video_1', {
  | techOrder: ['html5','flash'],
  | autoplay: false,
  | sources: [{
  | type: "video/mp4",
  | src: "http://vjs.zencdn.net/v/oceans.mp4"
  | }],
  | plugins: {
  | vastClient: {
  | adTagUrl: "https://pubads.g.doubleclick.net/gampad/ads?sz=640x480&iu=/124319096/external/ad_rule_samples&ciu_szs=300x250&ad_rule=1&impl=s&gdfp_req=1&env=vp&output=vmap&unviewed_position_start=1&cust_params=deployment%3Ddevsite%26sample_ar%3Dpreonly&cmsid=496&vid=short_onecue&correlator=",
  | adsCancelTimeout: 5000,
  | adsEnabled: true
  | }
  | }
  | });
  | });
  | </script>
  | </body>
  | </html>
  |  



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

1 participant