Video MIME types

Last updated January 16, 2019

MIME typesVideo creative formats supported by your video player. For example, video/mp4. describe the type of file you are transmitting in a way that has meaning to the code base via which your video player and ad serverA complete digital advertising platform where publishers sell, manage, and deliver their advertising inventory across all digital formats. communicate. You are probably used to recognizing files based on their filename extensions, such as .mov for a Quicktime file. These filename extensions are associated with MIME types so your ad server or video player can communicate with each other and demand sources who want to serve ads to your linear videoA video ad or ad unit that typically appears in a video player before (pre-roll), after (post-roll), or during a break (mid-roll) in the streamed content. In addition to the in-stream format, linear video ad units may include interstitial, out-stream, and opt-in formats. They may also be accompanied by companion ads and include interactive components. ad units.

Your video player is compatible with a particular set of MIME types. You need to identify those and specify the subset of them that is compatible with your ad unitThe smallest inventory component that represents the space on a site where ads display.'s inventoryAd space available on a website or app. The basic unit of inventory for OpenX is an ad unit. type while creating a linear video ad unit. By doing this, you should receive only ads that are compatible with your video player and inventory type.

MIME type syntax

A MIME type's structure consists of a type and a subtype. The type and subtype are two strings which are separated by a forward slash (/):


Spaces are not permitted, and lowercase is the standard, though MIME types are not case sensitive.

In the case of Video in the OpenX Ad Exchange, you find MIME types with a type of either application or video. For example, the Quicktime file referenced above has a type of video and a subtype of quicktime. The MIME type associated with a Quicktime file looks like this:


How to choose MIME types

When you create a linear video ad unit, you need to choose MIME types for that ad unit. The MIME types you choose depend on your video player's compatibility and the inventory type of your linear video ad unit.

Create ad unit screen for Linear Video inventory

It is very important to choose the correct MIME types. Choosing incorrect MIME types will make your ad unit available to incompatible ad types in the OpenX Ad Exchange. Determine which MIME types to select based on two criteria:

  • Video player compatibility
  • Inventory type of your linear video ad unit

The table below provides an overview of MIME type choices.

MIME type Sample filename extensions

application/javascript (requires VPAIDVideo Player Ad-Serving Interface Definition, a type of API framework for interfacing between a video ad creative and a video player. 2.0 support)

application/ .m3u, .m3u8
application/x-mpegurl .m3u, .m3u8
video/3gpp .3gp
video/mp4 .mp4, .m4a, .m4p, .m4b, .m4r, .m4v
video/mpeg .m1v
video/ogg .ogg
video/quicktime .mov, .qt
video/webm .webm
video/x-m4v .m4v
video/ms-asf .asf, .wma, .wmv
video/x-ms-wmv .wmv
video/x-msvideo .avi

External documentation for supported MIME types

Note: The following information is subject to change without notice to OpenX. When in doubt, please follow documentation for your video player's latest version.

Fill out my online form.