What is MIME type "video/x-ms-wma"?

A MIME type is a string that tells browsers and other tools how to handle a particular kind of file.

video/x-ms-wma is the MIME type for Windows Media Audio content. Even with the word video in its name, it represents an audio format. This naming is a legacy from earlier multimedia classifications.

Purpose and Functionality
It tells systems and web browsers how to handle a file. The type supports streaming and playback of audio with advanced compression. This results in smaller file sizes while keeping good sound quality.

Common Uses

Additional Applications

File Association
Files with the WMA extension use this MIME type. The tag helps software decide how to process and play the file.

For more details, see Windows Media Audio on Wikipedia.

Associated file extensions

Usage Examples

HTTP Header

When serving content with this MIME type, set the Content-Type header:


    Content-Type: video/x-ms-wma    
  

HTML

In HTML, you can specify the MIME type in various elements:


    <a href="file.dat" type="video/x-ms-wma">Download file</a>    
  

Server-side (Node.js)

Setting the Content-Type header in Node.js:


    const http = require('http');    
    
    http.createServer((req, res) => {    
      res.setHeader('Content-Type', 'video/x-ms-wma');    
      res.end('Content here');    
    }).listen(3000);    
  

Associated file extensions

FAQs

Why is the MIME type labeled 'video' when WMA is an audio format?

The MIME type video/x-ms-wma is a legacy artifact from when Windows Media technologies grouped audio and video formats closely together. While the x-ms- prefix indicates it is a proprietary Microsoft format, the video classification is technically a misnomer for audio-only .wma files. Most modern configurations prefer audio/x-ms-wma to avoid confusion.

Do modern web browsers support video/x-ms-wma for playback?

Generally, no. Most modern browsers (like Chrome, Firefox, and Safari) do not support native WMA playback via HTML5 <audio> or <video> tags. To ensure audio plays across all devices, it is highly recommended to convert these files to universally supported formats like audio/mpeg (MP3) or AAC.

How do I configure Apache to serve WMA files with this MIME type?

To force Apache to serve files with the .wma extension using this specific MIME type, add the following line to your .htaccess file or main configuration: AddType video/x-ms-wma .wma. However, unless you have a specific legacy requirement, using audio/x-ms-wma is usually more accurate.

What is the difference between video/x-ms-wma and audio/x-ms-wma?

Both MIME types are used for Windows Media Audio files, but audio/x-ms-wma is the semantically correct standard for audio content. The video/x-ms-wma variant is often found in older server configurations or specific streaming setups that treated all Windows Media content (including WMV) under a broad video umbrella.

How do I add this MIME type to Microsoft IIS?

In the IIS Manager, navigate to the MIME Types feature for your site. Click Add in the Actions pane, enter .wma as the file name extension, and type video/x-ms-wma (or audio/x-ms-wma) in the MIME type field. This ensures the server sends the correct headers to the client.

Can video/x-ms-wma be used for live streaming?

Yes, this MIME type was historically used with Microsoft's MMS (Microsoft Media Server) and RTSP protocols for streaming. While effective for low-bandwidth environments due to high compression, modern streaming usually relies on HLS or DASH protocols using different container formats.

What should I do if my WMA files are downloading instead of playing?

This usually happens because the browser cannot render the format natively. Since video/x-ms-wma is not a standard web audio format, browsers default to downloading the file. To fix this, you must either use a browser plugin (which is deprecated technology) or convert the file to a web-friendly format like MP3 or OGG.

General FAQ

What is a MIME type?

A MIME (Multipurpose Internet Mail Extensions) type is a standard that indicates the nature and format of a document, file, or assortment of bytes. MIME types are defined and standardized in IETF's RFC 6838.

MIME types are important because they help browsers and servers understand how to process a file. When a browser receives a file from a server, it uses the MIME type to determine how to display or handle the content, whether it's an image to display, a PDF to open in a viewer, or a video to play.

MIME types consist of a type and a subtype, separated by a slash (e.g., text/html, image/jpeg, application/pdf). Some MIME types also include optional parameters.

How do I find the MIME type for a file?

You can check the file extension or use a file identification tool such as file --mime-type on the command line. Many programming languages also provide libraries to detect MIME types.

Why are multiple MIME types listed for one extension?

Different applications and historical conventions may use alternative MIME identifiers for the same kind of file. Showing them all helps ensure compatibility across systems.