Vast Client JS is a Javascript library for parsing Digital Video Ad Serving Template (VAST) documents as close as possible to the Interactive Advertising Bureau (IAB) specification.
This library provides:
- A VAST parser, which validates the XML and translates it into a JS object.
- A VAST tracker, which batches the tracking urls and provides methods for calling them.
Complies with VAST 3.0 spec.
See API
If you need to support legacy browsers (e.g. IE8+), don't forget to include es5.js
See CONTRIBUTING