Salesforce

Video canvas

« Go Back
Information
Video canvas
Smart-Video-Screening
Details
User-added image

Summary

Overview
Demo
Compliancy
Creatives
Creative template parameters
Features
Metrics
Limitations
Known issues
Release notes

Overview

Formerly named "Smart Video-Screening". The "Video canvas" creative template displays a video ad in the background, expanding to full-screen mode on mouse over.

Demo

Video canvas demo

Compliancy

CriterionCompliancy
RTB
VAST 4.2 and lower
VAST wrapper
VPAID
SIMID
Creative rotation 
Responsive web design
Friendly iFrame
Viewability counting (MRC standard)

Creatives

  • Creative #1: optional banner; supported file formats: image (use transparency for better effects), creative script, HTML5
  • Creative #2: optional video; supported file formats: mp4, webm (use files with high resolution and bitrate) - or - any VAST redirect containing the formats: mp4, ogg, webm, javascript (for VPAID only)
  • Creative #3: optional banner shown after close; supported file formats: image, creative script, HTML5
Equativ strongly recommends to use HD video files for this ad format.

Note 1: In case of VAST redirects, use the "Paste script" creation method and paste the URL or the entire XML into the "Creative script" field.

Note 2: If the first or third creative is an creative script or HTML5, make sure you specify the size

Note 3: If there is no third creative, the first creative will be displayed after close

Note 4: To get the behavior shown in this sample (transparent banner), add the first creative as an creative script and specify the width and height; then add the following code to make it transparent
<div style="width:750px;height:200px"></div>

Note 5: To avoid showing the banner after close (third creative), add the third creative as an empty creative script and set its width and height to 0.

Note 6: In case of VAST redirects, the ad format picks the most appropriate file to play according to the following priorities: (1) mp4, (2) webm, (3) ogg, (4) javascript

Creative template parameters

NameDescriptionDefault value
Options
Place of adSpecifies where the ad should be placedtop
zIndex

zIndex of the expanded video; max. value: 999999999

9999
Tracking url

Make sure you add [timestamp] to the URL for cache busting

 

Player controls options
Controls bar opacitySpecifies the opacity of the control bar0.5
Controls bar modeSpecifies the bar modeFLOATING
Player play/pause buttonSpecifies if the player has play/pause buttonstrue
Player volume buttonSpecifies if the player has a volume buttontrue
Player controls colorSpecifies controls color#cccccc
Loop videoSpecifies if the video will be looped; this option is taken into account only for the video in background mode; in fullscreen mode, the video will not be loopedfalse
Video starts from beginning in expand modeSpecifies if the video starts from the beginning in expand modetrue
Pause on tab changingStops the video while changing browser tabstrue
Duration label

Specifies the duration label; Note: Use {0} in label to count down the time until the end of the ad

End of break ad in {0}s
Background video opacitySpecifies the opacity of the video background0.8
Background vertical offsetSpecifies the vertical offset of the background video, positive number: to the bottom; number with "-": to the top0
Close button options
Default close button imageSpecifies if the default close button image appearstrue
Close button textCan be text and HTML 
Close button link colorSpecifies the close link color#cccccc
Close button font sizeSpecifies the size of the close font (in px)14
Close button positionSpecifies the position of the close buttontopRight
Show close button at the beginningShows the close button also before expand modefalse
Start expand options
Hover over banner starts expandSpecifies if hover over the banner starts counting to expandtrue
Click starts expandSpecifies if click starts expandfalse
Click map options
Page widthSpecifies the page width to use the click map feature0
Click map width (right and left side)Specifies the click map width for both sides5000
Click map height (right and left side)Specifies the click map height for both sides1000
Click map zIndexSpecifies the zIndex of the click map9999
Click map horizontal offsetSpecifies the horizontal offset of the click map; positive value: to the right side;  value with "-": to the left side0
Click map vertical offsetSpecifies the vertical offset of the click map; positive value: to the bottom; value with "-": to the top0
Show click map test border lineShow border line over the clickmap; this option is supposed to help with the setup of the click map positionfalse

Features

Event listening

The Video canvas supports the following events: adBegin, adDuration, adEnd and adError. You can listen to these events to control the functioning of your site.
Any event contains the parameter formatId to get which formatId (on the page) fired the event:
window.addEventListener('adBegin', function (e) {
	console.log(e.formatId);
});

adBegin / adEnd
For instance, if your website has a video player playing video content, you can mute that player when the ad appears and unmute when it disappears:
window.addEventListener('adBegin', function (e) {
	document.querySelector('video').muted = true;
});

adDuration
The adDuration provides access to the videoDuration property, which can be useful to retrieve the duration of the whole video ad:
window.addEventListener('adDuration', function (e) {
	console.log(e.videoDuration);
});

adError
To take an action when there is an error or the VAST is empty:
window.addEventListener('adError', function (e) {
	console.log("Ad error occured");
}); 

Force VPAID media files

To update media files selection and prioritize VPAID creatives the sasVpaidFirst variable can be used with a value of true. The below snippet can be added as a custom script:

<script> sasVpaidFirst = true; </script>

Metrics

The player and data logging start immediately. The Equativ visibility events always have a value of 100. Equativ logs the "fullscreen" event when the user goes to fullscreen mode.
Also see the Video metrics article.

Limitations

  • works for web only (no mobile web supported!)
  • IE 10, 9, 8 are not supported anymore

Known issues

n/a

Release notes

  • 25-09-2024 - Add support for OMSDK
  • 24-01-2024 - Removed support for obsolete macros
  • 05-04-2023 - Update sas-libs version to 1.1
  • 27-03-2023 - Select the most appropriate creative encoded version based on bandwidth and resolution
  • 13-05-2020 - Remove start muted custom parameter
  • 25-03-2019 - Hide player controls in non-expand mode
  • 05-02-2019 - Viewability module improvements - Measures are now more accurate and more integrations are covered
  • 15-10-2018 - Fix for creatives as creative script
  • 02-07-2018 - Removed support for flash video creatives
  • 25-04-2018 - Parse RTB parameters into strings
  • 06-03-2018 - Additional RTB parameters in event trackers
  • 19-02-2018 - Enable viewability counting by default
  • 30-01-2018 - Updated tracking urls
  • 22-01-2018 - Updated meta parameters
  • 20-12-2017 - Code refactoring + VAST4 support
  • 24-08-2017 - Add click map
  • 16-08-2017 - Support for standalone tag
  • 28-06-2017 - Support for tagId ad call parameter

Powered by