Salesforce

Video floor

« Go Back
Information
Video floor
Smart-Video-Floorad
Details

User-added image

Summary

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

Overview

Formerly named "Smart Video-Floorad" / "RTB+ Smart Video-Floorad". The "Video floor" creative template displays a video ad that sticks at the top or bottom of the window.

Most common sizes

Most common RTB sizes of this ad format: 768x1024

Demo

Video floor demo

Compliancy

CriterionCompliancy
RTB
VAST 4.2 and lower
VAST wrapper
VPAID
SIMID
Creative rotation 
Responsive web design
Friendly iFrame

Creatives

This section applies for the direct creative template only.
Supported video files:

  • mp4, webm (use files with high resolution and bitrate)
  • any VAST redirect containing the formats: mp4, ogg, webm, javascript (for VPAID only)

Note 1: 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

Note 2: 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 3: In case of creative scripts, make sure you specify the size.
 

Creative template parameters

NameDescriptionDefault value
Main options
Vertical positionVertical position of creativebottom
Horizontal positionHorizontal position of creativecenter
zIndexzIndex of creative1000
MarginMargin from bottom or top of the page (in px)0
Tracking URLMake sure you add [timestamp] to the URL for cache busting
Creative feedbackShows creative feedback button true
Close button options
Add close buttonSpecifies if close button will appeartrue
Background options
Background colorSpecifies the background color#000
Background imageSpecifies the background images to be used 
Background repeatSpecifies how to repeat the background imageno-repeat
Background positionSpecifies the background position. More details herecenter top
Background opacitySelect opacity of the background between 0 (transparent) and 1 (opaque). If you set 0, the background will not appear.0.5
Expand options
Collapsed heightSpecifies the collapsed height of the expandable ad. 0 means that expand mode is disabled.0
Enable transition effectEnable/disable transition effect when expanding/collapsing. This feature works only on modern browsers: IE10+, Chrome, Firefox, Opera, Safaritrue
Transition durationSpecifies transition duration1
Transition typeSpecifies transition typeease
Player options
On mouse over unmute playerOn mouse over unmute sound

Please notice that the newest versions of Chrome and Safari browsers do not allow to mute / unmute video programmatically. In that case video player may be paused instead of muted / unmuted. We recommend to keep this option disabled.
false
On mouse out mute playerOn mouse out mute soundfalse
Loop videoSpecifies if video will be loopedfalse
Pause player on tab changingStop video when changing browser tabstrue
Buttons options
Fullscreen buttonSpecifies if player will have fullscreen buttonfalse
Play/pause buttonSpecifies if player will have play/pause buttonsfalse
Volume buttonSpecifies if player will have volume buttontrue
Auto hide buttonsSpecifies if buttons should be hidden after a short time. This option works only if the "Bar mode" param is set to "FLOATING"true
Bar options
Bar modeSpecifies the player bar modeFLOATING
Bar opacitySelect opacity of the player's bar between 0 (transparent) and 1 (opaque).0.5
RTB options (only for the RTB template)
Video player widthSpecifies the video player width (in px). The height will be calculated automatically using the aspect ratio (16:9). 
Minimum durationMinimum ad duration, in second(s) 
Maximum durationMaximum ad duration, in second(s) 
Minimum bitrateMinimum expected bitrate for the video creative, in Kbps 
Maximum bitrateMaximum expected bitrate for the video creative, in Kbps. 

Features

  • sticks to top or bottom of the display
  • supports a nice CSS3 animation for expand/collapse
  • works for web only (no mobile web supported)


Event listening

The Video floor creative template 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. This ad format also logs the "expand" and "collapse" metrics.
Also see the Video metrics article.

Limitations

  • works for web only (no mobile web supported)
  • the newest versions of Chrome and Safari browsers do not allow to mute / unmute video programmatically. In that case video player may be paused instead of muted / unmuted. We recommend to keep "On mouse over unmute" and "On mouse out mute" options disabled

Known issues

Internet Explorer 10, 9, 8 are not supported anymore

Release notes

  • 16-06-2025 - Add DSA and feedback button
  • 01-04-2025 - Remove custom close button option
  • 05-03-2025 - Updates for action pixels generation
  • 25-09-2024 - Add support for OMSDK
  • 24-01-2024 - Removed support for obsolete macros
  • 16-10-2023 - Update Video Placement Type parameter
  • 18-07-2023 - Added new RTB macros
  • 05-04-2023 - Update sas-libs version to 1.1
  • 02-02-2023 - Select the most appropriate creative encoded version based on bandwidth and resolution
  • 13-05-2020 - Remove start muted custom parameter
  • 30-05-2019 - Added support for video placement types (OpenRTB 2.5) in RTB template
  • 05-02-2019 - Viewability module improvements - Measures are now more accurate and more integrations are covered
  • 28-01-2019 - Add RTB dimensions in click url
  • 13-09-2018 - On mouse over/out unmute/mute disabled by default
  • 16-07-2018 - Removed support for flash 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
  • 23-11-2017 - New default close button
  • 21-11-2017 - Updated meta parameters in RTB template
  • 20-11-2017 - Code refactoring + VAST4 support
  • 25-09-2017 - Updated meta parameters in RTB template
  • 10-08-2017 - Support for standalone tag
  • 18-05-2017 - Support for tagId ad call parameter

Powered by