Comments (11)
This actually should support wrappers just fine. We use this functionality from time to time ourselves. To see an example, just plug the url http://videoads.theonion.com/vast/224.xml
into our test player at http://theonion.github.io/videojs-vast-plugin/.
Have you already tried this with wrappers, and have run into issues? If so, let's us know what you're seeing, and we can certainly look into it.
from videojs-vast-plugin.
In the call to vast.client.get it is returning undefined as the value for the response in the callback. I can see that the VAST XML document is getting called. Here is an example ad tag that we are using: http://ad.doubleclick.net/pfadx/ddm.kslm/ReaderApp;sz=1x1000;pos=player;tile=1;ord=1396381165?
from videojs-vast-plugin.
I tried your wrapper XML file and it worked fine. I'm also on DFP so maybe that is the problem?
from videojs-vast-plugin.
Hey, I tried your URL, and it worked at first, but now isn't serving an XML file. Could you provide some static sample files demonstrating the problem? Because I think your DFP URL expired, perhaps.
from videojs-vast-plugin.
Well, seems to be working. It was just that the ad server (DFP) kept wanting to send me Flash ads.
from videojs-vast-plugin.
I am trying to get to work this plugin with DFP but I am still unsuccessful :-( My tag from DFP doesn't even work on test player but it works in other test players, eg. jwplayer. Should it work in video.js with videojs-vast-plugin or I am trying the impossible. I feel sorrowful. I will be grateful for any advice.
from videojs-vast-plugin.
Hey @snizemic, do you have some kind of example code somewhere? Or some kind of detail on the errors you're seeing? Without that, this is pretty difficult to diagnose.
from videojs-vast-plugin.
Hi, thanks for quick reply. Here is my tag from DFP. It works here but it does not here.
from videojs-vast-plugin.
The problem has nothing to do with wrappers, so this is the wrong ticket. I have opened up issue #33 for this.
The issue here (if you look at the network requests) is that the test player is requesting the VAST file twice, and DFP does this really fun thing where subsequent requests with the same "correlator" value lead to an empty file. So, on the second request, DFP returns an empty file, the player says "ok, well then I guess I'll just play the video".
I'm not sure why the sample player does this, as our on-site player do not, so I would recommend that for the time being, you try this out on your own, outside of the test player.
from videojs-vast-plugin.
Thanks for your time and information!
from videojs-vast-plugin.
Hello,
Regarding this reply
"The issue here (if you look at the network requests) is that the test player is requesting the VAST file twice, and DFP does this really fun thing where subsequent requests with the same "correlator" value lead to an empty file. So, on the second request, DFP returns an empty file, the player says "ok, well then I guess I'll just play the video"."
Please let me know if there is a solution to this.
According to this page: https://support.google.com/dfp_premium/answer/1068325?hl=en
"A random number, typically the timestamp of the page view, that's shared by multiple requests coming from the same page view. If you're not using the Google IMA SDK, see note below.* Correlator is used to implement competitive exclusions, including in cookieless environments."
Thank you
from videojs-vast-plugin.
Related Issues (20)
- "undefined has no properties " when loading VAST 3.0 Url HOT 1
- VAST Ads are not Played on PC/Mobile!
- How make Vast file for exoclick video stream? is this Vast ok?
- MOAT script and VAST plugin problem
- Not proberly working with videojs-youtube HOT 1
- Doesn't respect skipoffset attribute from server
- Getting pause event at the same time as complete HOT 1
- Do not restoring playback technology after FLV advert
- Videojs? HOT 1
- compatibility with Videojs 5 ? HOT 17
- Not play AD mp4 video VAST for m3u8 base video
- It is dropping my vast tag .. HOT 2
- VAST Error: on VASTClient.requestVastXML, HTTP request error with status '-1'
- after pre roll end , video is not resumeing
- example not working HOT 2
- HTMLResource support
- This is not supported videojs version5 HOT 3
- Clicktracking gets ignored when using VASTAdTagURI HOT 4
- VideoJs-Vast-plugin doesn't get initialized. HOT 1
- Video doesn't play
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from videojs-vast-plugin.