Skip to main content
ZenHub houses documentation to support you if you’re using Contensis Classic. Contensis Classic includes our WYSIWYG and templating features. If you’re working with a newer version of Contensis, is your go-to place to find anything Contensis-related when building with content types.
There is a newer version of Contensis. Click to find out more and download the latest version.

Configure MIME types

Some of the file types used by web controls in Contensis are not served by default in IIS and will need to be configured. You can configure the file types either in IIS or in your publishing server web config  file. Here is a list of the MIME types we use.

List of MIME Types
File TypeMIME TypeWeb Control Usage
.vtt text/vtt Video Player Web Control
.srt text/srt Video Player Web Control
.xml text/xml Video Player Web Control
.aac audio/aac Audio Player Web Control
.oga audio/ogg Audio Player Web Control
.mp3 audio/mpeg Audio Player Web Control
.mp4 video/mp4 Video Player Web Control
.webm video/webm Video Player Web Control
.flv video/x-flv Video Player Web Control
.mov video/quicktime Quicktime Movie Web Control
.m4v video/x-f4v Video Player Web Control
.m4a video/mp4 Audio Player Web Control

Warning:  Do not do both of these as adding the MIME type to your IIS config  and publishing server web config  file will cause a .NET Server Error.

Add MIME types via IIS 7

These steps apply to Windows server 2008 and above.

  1. Open The Server Manager
  2. Navigate to Roles
  3. Select Webserver (IIS)  and then Internet Information Services and your Server name
  4. Now on the homepage double click on MIME Types
  5. Click Add  in the right hand column
  6. Fill out the extension and MIME type and click OK

Add MIME types via the web.config of a publishing server

Alternatively you can add them to your web.config  file.

  1. Go to the management console
  2. Expand Project Setup
  3. Press Publishing Servers
  4. Select the Web Config link against the publishing server you want to apply the MIME types to.
  5. Add the appropriate MIME types using the following XML as a basis.
  6. You will need to press Save & Publish and wait for the SystemXML file to go through the publishing queue before the changes take effect.