HTML5 Guidelines
Notes on Implementing In-Banner Video
General
- Defining the video includes providing the source filename and setting the width and height. You can also indicate default video player controls, style your own in the CSS file, or leave them out altogether. Attributes can be included to customize the video experience for your particular use case
- To ensure proper functionality across both HTML5-supported and non-supported browsers, use code to detect browser and device details. When HTML5 is not supported as needed to play the video, design the ad to “degrade gracefully”
Video In Mobile Devices
- Many mobile devices only support full-screen video playback, and in cases where video is rendered in the native video player at full screen, custom controls do not apply
Transparency
Alpha transparency is not supported in any codec or wrapper format using the HTML5 video element - there are ways to achieve this effect using JS canvas and video alpha channels
Tracking
- Video tracking WILL NOT be collected if a video is included in a site-served Standard HTML5 display unit
- Video tracking WILL be provided for site-served Interactive/Rich HTML5 Display units
- Third-party tags will require video tracking to be enabled within the third party ad building tool