Adsolutions / Documentation  / VIDEO BANNERS DOCUMENTATION


The templates are made as basic as possible so you have a simple starting point to begin building your creative. A

The template consists of the following assets:

  • index.html
  • style.css

The html is fairly basic. In the <head> It links to a .css file. And it tells us the ad size. And it includes the core library:

The body contains a background div and a standard html video player with an ID. You can add your own sources and change the controls etc.

Underneath the divs you’ll find a small Javascript. Which we will explain line by further underneath. The code is wrapped within the init() function. This function is called when our library is ready.

The highlighted lines show we look for an element with ID videoPlayer (the ID of the video element) and the next highlighted line we tell the library to register this element as the video player. This way we can measure the VAST video events and report on them.

Underneath (see the higlighted lines) the the click is implemented. You can change the URL here. Or designate it to a different element or add multiple clickable elements.

The click is syntax is like so:‘Click Name‘, ‘your CLICK URL‘);

Click Name is used in the reports to distinguish which click through button was clicked on. You don’t have to enter the URL if you don’t know it yet. We can handle it for you if you send the URL or redirect later on.

During the design phase we can provide you with a preview URL so you can see the work in action and make changes to your design accordingly. Send us the source files and fonts to (WeTransfer preferred)

Final creative or requests for a preview can be send to

Also read the GENERAL DOCUMENTATION fur further reference on building HTML5 ads.