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.
The client documentation contains the basic information to parse a VAST URL/Document. For more advanced use of the parser, see the parser documentation.
All information about the tracking part can be found in the tracker documentation.
If you need to support legacy browsers (e.g. IE8+), don't forget to include es5.js
See CONTRIBUTING