Adform strongly recommends using the Adform Creative Toolkit extension while creating video banners. The manual of the Adform Creative Toolkit can be found here.

However, it is possible to create video banner without using the Adform Toolkit, detailed instructions on this are given in the text below.

Preview:

Examples:

Instructions

Note: This is a basic example of "how to load video files in Flash banners". However, Adform strongly recommends to load videos using the Adform Creative Toolkit (more info here).

1. Create a skin which, on some action (e.g. mouse-over), loads a *.flv or *.swf video file. There are no limitations for the skin banner Flash version if the loaded file is *.flv. If the loaded file is *.swf, skin and content Flash versions must match.

2. Video files will be placed on the Adform server. Therefore the reference to the video file must be hardcoded inside the skin file:

http://files.adform.net/banners/stream/<ADFORM_ID>/<Filename>

<ADFORM_ID> - the unique sequence of characters, given by Adform (can only contain characters with letters and numbers without any space).

<Filename> - the name of video file.

3. Banners’ security settings should be defined to allow domain:

a) In case you are using ActionScript 2:

System.security.allowDomain("*");

b) In case you are using ActionScript 3:

Security.allowDomain("*");

4. Flash code examples for loading *.flv files (you are free to choose any other way to load *.flv files):

a) In case you are using the ActionScript 2:

var ADFnc:NetConnection = new NetConnection();
ADFnc.connect(null);
var ADFns:NetStream = new NetStream(ADFnc);
ADFvideo.attachVideo(ADFns);//ADFvideo is a Video object
ADFns.play("http://files.adform.net/banners/stream/Adform/adform.flv");

b) In case you are using the ActionScript 3:

var ADFnc:NetConnection = new NetConnection();
ADFnc.connect(null);
var ADFns:NetStream = new NetStream(ADFnc);
ADFvideo.attachNetStream(ADFns);//ADFvideo is a Video object
ADFns.play("http://files.adform.net/banners/stream/Adform/adform.flv");

5. Flash code examples for loading *.swf files (you are free to choose any other way to load *.swf files):

a) In case you are using the ActionScript 2:

var ADFcontainer:MovieClip = createEmptyMovieClip("ADFcontainer",
getNextHighestDepth());
ADFcontainer.loadMovie("http://files.adform.net/banners/stream/Adform/adform.swf");

b) In case you are using the ActionScript 3:

var ADFcontainer:MovieClip = new MovieClip();
addChild(ADFcontainer);
var ADFloader = new Loader();
ADFloader.load(new URLRequest("http://files.adform.net/banners/Adform/adform.swf"));
ADFloader.contentLoaderInfo.addEventListener(Event.COMPLETE,ADFadd);
function ADFadd(event:Event) {
ADFcontainer.addChild(ADFloader.content);
}

6. You need to implement the clickTAG variable. Detailed instructions for the clickTAG implementation can be found here.

7. Banners should be compiled with the Flash 8 or a higher version. There might be pop-up blocker problems when interacting with the lower version banners in the Internet Explorer 7.

8. Test the Flash banner in the live web environment using Adform Creative Test Module.

9. Send all the files to traffic@adform.com. Please refer to the name of the campaign + (if relevant-) name of the media agency + media agency contact person.

10. The Adform Traffic team will upload the banners and inform the relevant person in order to get the campaign launched.

Video banners in devices which do not support Flash

Some devices, as iPad or iPhone, do not support the flash-based content. If a user visits a media site using such device then, instead of the video banner (Flash content), an image or an empty space is shown. In order to avoid such situations, Adform replaces images (or empty spaces) with HTML5 video banners. All you have to do is to send video files of the following types:

a. H.264+AAC+MP4 for IE9, iPhone 3.0+, iPad, Android 2.0+;
b. Theora+Vorbis+Ogg for Firefox 3.5, Chrome, Opera;
c. WebM for Firefox 4.0, Android 2.3+.

Rich Media video banners will work in the following way:

a. If it is possible to play a Flash video - the flash video will be played;
b. If it is not possible to play a flash video but it is possible to play an HTML5 video - the HTML5 video will be played (for expanding and tear back banners HTML5 video will be shown only in the expanded state; in the collapsed state, a backup image will be shown);
c. In the worst case, a backup image will be shown.