Multimedia Introduction



What is Multimedia?

Multimedia is everything you can hear or see: texts, books, pictures, music, sounds, CDs, videos, DVDs, Records, Films, and more.
Multimedia comes in many different formats. On the Internet you will find many of these elements embedded in web pages, and today's web browsers have support for a number of multimedia formats.
In this tutorial you will learn about different multimedia formats and how to use them in your web pages.

Browser Support

The first Internet browsers had support for text only, and even the text support was limited to a single font in a single color, and little or nothing else.
Then came web browsers with support for colors, fonts and text styles, and the support for pictures was added.
The support for sounds, animations and videos is handled in different ways by different browsers. Some elements can be handled inline, some requires a plug-in and some requires an ActiveX control.
You will learn more about this in the next chapters.

Multimedia Formats

Multimedia elements (like sounds or videos) are stored in media files.
The most common way to discover the media type is to look at the file extension.
When a browser sees the file extensions .htm or .html, it will assume that the file is an HTML page. The .xml extension indicates an XML file, and the .css extension indicates a style sheet.
Picture formats are recognized by extensions like .gif and .jpg.
Multimedia elements also have their own file formats with different extensions.
You will learn more about media file extensions in the next chapters.
Multimedia is everything you can hear or see: texts, books, pictures, music, sounds, CDs, videos, DVDs, Records, Films, and more.
Multimedia comes in many different formats. On the Internet you will find many of these elements embedded in web pages, and today's web browsers have support for a number of multimedia formats.
In this tutorial you will learn about different multimedia formats and how to use them in your web pages.

Multimedia Sound Formats

Sound can be stored in many different formats.

The MIDI Format

The MIDI (Musical Instrument Digital Interface) is a format for sending music information between electronic music devices like synthesizers and PC sound cards.
The MIDI format was developed in 1982 by the music industry. The MIDI format is very flexible and can be used for everything from very simple to real professional music making.
MIDI files do not contain sampled sound, but a set of digital musical instructions (musical notes) that can be interpreted by your PC's sound card.
The downside of MIDI is that it cannot record sounds (only notes). Or, to put it another way: It cannot store songs, only tunes.
The upside of the MIDI format is that since it contains only instructions (notes), MIDI files can be extremely small. The example above is only 23K in size but it plays for nearly 5 minutes.
The MIDI format is supported by many different software systems over a large range of platforms. MIDI files are supported by all the most popular Internet browsers.
Sounds stored in the MIDI format have the extension .mid or .midi.

The RealAudio Format

The RealAudio format was developed for the Internet by Real Media. The format also supports video.
The format allows streaming of audio (on-line music, Internet radio) with low bandwidths. Because of the low bandwidth priority, quality is often reduced.
Sounds stored in the RealAudio format have the extension .rm or .ram.

The AU Format

The AU format is supported by many different software systems over a large range of platforms.
Sounds stored in the AU format have the extension .au.

The AIFF Format

The AIFF (Audio Interchange File Format) was developed by Apple.
AIFF files are not cross-platform and the format is not supported by all web browsers.
Sounds stored in the AIFF format have the extension .aif or .aiff.

The SND Format

The SND (Sound) was developed by Apple.
SND files are not cross-platform and the format is not supported by all web browsers.
Sounds stored in the SND format have the extension .snd.

The WAVE Format

The WAVE (waveform) format is developed by IBM and Microsoft.
It is supported by all computers running Windows, and by all the most popular web browsers (except Google Chrome).
Sounds stored in the WAVE format have the extension .wav.

The MP3 Format (MPEG)

MP3 files are actually MPEG files. But the MPEG format was originally developed for video by the Moving Pictures Experts Group. We can say that MP3 files are the sound part of the MPEG video format.
MP3 is one of the most popular sound formats for music recording. The MP3 encoding system combines good compression (small files) with high quality. Expect all your future software systems to support it.
Sounds stored in the MP3 format have the extension .mp3, or .mpga (for MPG Audio).

What Format To Use?

The WAVE format is one of the most popular sound format on the Internet, and it is supported by all popular browsers. If you want recorded sound (music or speech) to be available to all your visitors, you should use the WAVE format.
The MP3 format is the new and upcoming format for recorded music. If your website is about recorded music, the MP3 format is the choice of the future.


Multimedia Video Formats

Video can be stored in many different formats.

The AVI Format

The AVI (Audio Video Interleave) format was developed by Microsoft.
The AVI format is supported by all computers running Windows, and by all the most popular web browsers. It is a very common format on the Internet, but not always possible to play on non-Windows computers.
Videos stored in the AVI format have the extension .avi.

The Windows Media Format

The Windows Media format is developed by Microsoft.
Windows Media is a common format on the Internet, but Windows Media movies cannot be played on non-Windows computer without an extra (free) component installed. Some later Windows Media movies cannot play at all on non-Windows computers because no player is available.
Videos stored in the Windows Media format have the extension .wmv.

The MPEG Format

The MPEG (Moving Pictures Expert Group) format is the most popular format on the Internet. It is cross-platform, and supported by all the most popular web browsers.
Videos stored in the MPEG format have the extension .mpg or .mpeg.

The QuickTime Format

The QuickTime format is developed by Apple.
QuickTime is a common format on the Internet, but QuickTime movies cannot be played on a Windows computer without an extra (free) component installed.
Videos stored in the QuickTime format have the extension .mov.

The RealVideo Format

The RealVideo format was developed for the Internet by Real Media.
The format allows streaming of video (on-line video, Internet TV) with low bandwidths. Because of the low bandwidth priority, quality is often reduced.
Videos stored in the RealVideo format have the extension .rm or .ram.

The Shockwave (Flash) Format

The Shockwave format was developed by Macromedia.
The Shockwave format requires an extra component to play. This component comes preinstalled with the latest versions of Netscape and Internet Explorer.
Videos stored in the Shockwave format have the extension .swf.


Playing Sounds on a Web Site

Sounds can be played "inline" or by a "helper", depending on the HTML element you use.

Inline Sound

When sound is included in a web page, or as part of a web page, it is called inline sound.
If you plan to use inline sounds in your web applications, be aware that many people find inline sound annoying. Also note that some users might have turned off the inline sound option in their browser.
Our best advice is to include inline sound only in web pages where the user expects to hear the sound. An example of this is a page which opens after the user has clicked on a link to hear a recording.

Using A Helper (Plug-In)

A helper application is a program that can be launched by the browser to "help" playing sound. Helper applications are also called Plug-Ins.
Helper applications can be launched using the <embed> or the <object> tag.
One great advantage of using a helper application is that you can let some (or all) of the player settings be controlled by the user.
Most helper applications allows manually (or programmed) control over the volume settings and play functions like rewind, pause, stop and play.


Using The <embed> Tag

The purpose of the <embed> tag is to embed multimedia elements in web page.
The following code fragment displays a MIDI file embedded in a web page.

Example

<embed src="beatles.mid" />
Note: The <embed> tag is deprecated. The World Wide Web Consortium (W3C) recommend using the <object> tag instead.

Using The <object> Tag

The purpose of the <object> tag is to embed multimedia elements in web page.
The following code fragment displays a WAVE file embedded in a web page.

Example

<object
classid="clsid:22D6F312-B0F6-11D0-94AB-0080C74C7E95">
<param name="FileName" value="liar.wav" />
</object>


Using A Hyperlink

If a web page includes a hyperlink to a media file, most browsers will use a "helper application" to play the file.
The following code fragment displays a link to a MIDI file. If a user clicks on the link, the browser will launch a helper application, like Windows Media Player to play the MIDI file:

Example

<a href="beatles.mid">Play the Beatles</a>


Playing Videos on a Web Site


Videos can be played "inline" or by a "helper", depending on the HTML element you use.

Inline Videos

When a video is included in a web page it is called inline video.
If you plan to use inline videos in your web applications, be aware that many people find inline videos annoying. Also note that some users might have turned off the inline video option in their browser.
Our best advice is to include inline videos only in web pages where the user expects to see a video. An example of this is a page which opens after the user has clicked on a link to see the video.

Using A Helper (Plug-In)

A helper application is a program that can be launched by the browser to "help" playing a video. Helper applications are also called Plug-Ins.
Helper applications can be launched using the <embed> or the <object> tag.
One great advantage of using a helper application is that you can let some (or all) of the player settings be controlled by the user.
Most helper applications allow manual (or programmed) control over the volume settings and play functions like rewind, pause, stop and play.

Using The <embed> Tag

The purpose of the <embed> tag is to embed multimedia elements in web page.
The following code fragment displays an AVI file embedded in a web page:

Example

<embed src="video.avi" />
Note: The <embed> tag is deprecated. The World Wide Web Consortium (W3C) recommend using the <object> tag instead.

Using The <object> Tag

The purpose of the <object> tag is to embed multimedia elements in web page.
The following code fragment displays an AVI file embedded in a web page:

Example

<object data="video.avi" type="video/avi" />


Using A Hyperlink

If a web page includes a hyperlink to a media file, most browsers will use a "helper application" to play the file.
The following code fragment displays a link to an AVI file. If a user clicks on the link, the browser will launch a helper application, like Windows Media Player to play the AVI file:

Example

<a href="video.avi">Play a video file</a>


Windows Multimedia Formats


Windows media files have the extensions: .asf, .asx, .wma, and .wmv.

The ASF Format

The ASF format (Advanced Streaming Format) is specially designed to run over the Internet.
ASF files can contain audio, video, slide shows, and synchronized events.
ASF files can be highly compressed and can be delivered as a continuous flow of data (on-line TV or radio). Files can be of any size, and can be compressed to match many different bandwidths (connection speeds).

The ASX Format

ASX (Advanced Stream Redirector) files are not media files, but metafiles.
Metafiles provides information about files. ASX files are plain text files used to describe multimedia content:
<ASX VERSION="3.0">
  <Title>Holiday 2001</Title>
  <Entry><ref href="holiday-1.avi"/></Entry>
  <Entry><ref href="holiday-2.avi"/></Entry>
  <Entry><ref href="holiday-2.avi"/></Entry>
</ASX>
The file above describes three multimedia files. When the ASX file is read by a player, the player can play the files described.

The WMA Format

The WMA (Windows Media Audio) format is an audio format developed by Microsoft.
WMA is designed to handle all types of audio content. The files can be highly compressed and can be delivered as a continuous flow of data (on-line radio). WMA files can be of any size, and be compressed to match many different bandwidths (connection speeds).
The WMA format is similar to the ASF format (see above)

The WMV Format

The WMV (Windows Media Video) format is a video format developed by Microsoft.
WMV is designed to handle all types of video content. The files can be highly compressed and can be delivered as a continuous flow of data (on-line radio). WMV files can be of any size, and be compressed to match many different bandwidths (connection speeds).
The WMV format is similar to the ASF format (see above)

Other Windows Media Formats

WAX (Windows Media Audio Redirector) files are much the same as ASX files, but intended to describe audio files (.wma files)
WMP (Windows Media Player) files and WMX are reserved file types for future use by Windows.

The Object Element

The object element supports many different media types, like:
·         Pictures
·         Sounds
·         Videos
·         Other Objects


Displaying A Picture

You can display a picture as an object:

Example

<object height="100%" width="100%"
type="image/jpeg" data="audi.jpeg">
</object>


Displaying A Web Page

You can display a web page as an object:

Example

<object type="text/html" height="100%" width="100%"
data="http://www.w3schools.com">
</object>


Displaying A Sound

You can display a sound as an object:

Example

<object
classid="clsid:22D6F312-B0F6-11D0-94AB-0080C74C7E95">
<param name="FileName" value="liar.wav" />
</object>


Displaying A Video

You can display a video as an object:

Example

<object
classid="clsid:22D6F312-B0F6-11D0-94AB-0080C74C7E95">
<param name="FileName" value="3d.wmv" />
</object>


Displaying A Calendar

You can display a calendar as an object:

Example

<object width="100%" height="80%"
classid="clsid:8E27C92B-1264-101C-8A2F-040224009C02">
<param name="BackColor" value="14544622">
<param name="DayLength" value="1">
</object>


Displaying Graphics

You can display graphics as an object:

Example

<object width="200" height="200"
classid="CLSID:369303C2-D7AC-11D0-89D5-00A0C90833E6">
<param name="Line0001"
value="setFillColor(255, 0, 255)">
<param name="Line0002"
value="Oval(-100, -50, 200, 100, 30)">
</object>


Displaying Flash

You can display a flash animation as an object:

Example

<object width="400" height="40"
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"
codebase="http://fpdownload.macromedia.com/
pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0">
<param name="SRC" value="bookmark.swf">
<embed src="bookmark.swf" width="400" height="40"></embed>
</object>

Click here to try a fancy flash


Playing QuickTime Movies


The object element can play QuickTime movies.

The QuickTime Format

The QuickTime format is developed by Apple. Videos stored in the QuickTime format have the extension .mov.
QuickTime is a common format on the Internet, but QuickTime movies cannot be played on a Windows computer without an extra (free) component installed.
With the object element, code that will play a QuickTime movie can easily be added to a web page. The object can be set to automatically install a QuickTime player if it is not already installed on the users computer.

The Solution

This is the code required to play a QuickTime movie:
<object width="160" height="144"
classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B"
codebase="http://www.apple.com/qtactivex/qtplugin.cab">
<param name="src" value="sample.mov">
<param name="autoplay" value="true">
<param name="controller" value="false">

<embed src="sample.mov" width="160" height="144"
autoplay="true" controller="false"
pluginspage="http://www.apple.com/quicktime/download/">
</embed>

</object>


The object Element

The width and height attributes of the object element should match the size of the movie in pixels.
The classid attribute uniquely identifies the player software to use. It must be set to "clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B". This unique code identifies an ActiveX control that must be installed on the users PC before the movie can be played. If the user does not have the ActiveX control installed, the browser can automatically download and install it.
The codebase attribute specifies the base path used to resolve relative URIs specified by the classid, data, and archive attributes. When absent, its default value is the base URI of the current document. Note: Internet Explorer uses this attribute to specify a location from where the player can be downloaded. It must be set to "http://www.apple.com/qtactivex/qtplugin.cab". This location will always contain the latest version of the QuickTime player.
The src parameter should point to the movie file.
The autoplay parameter should have the value "true" if you want the movie to play automatically.
The controller parameter should have the value "false" if you don't want the control buttons to show.

The embed Element

The embed element is supported by old browsers, like Netscape 4 and 5.
The width and height attributes of the embed element should match the size of the movie in pixels.
The autoplay and controller attributes of the embed element should be set to the same values as for the parameters in the object element.
The pluginspage attribute defines the players download path. It must be set to "http://www.apple.com/quicktime/download/".


Playing Real Video Movies


The object element can play Real Video movies.

The Real Video Format

The RealVideo format is developed by Real Media. Videos stored in the Real Video format have the extension .rm or .ram.
The format allows streaming of video (on-line video, Internet TV) with low bandwidths. Because of the low bandwidth priority, quality is often reduced.

The Solution

This is the code required to play a Real Video movie:
<object width="320" height="240"
classid="clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA">
<param name="controls" value="ImageWindow" />
<param name="autostart" value="true" />
<param name="src" value="male.ram" />
</object>


The object Element

The width and height attributes of the object element should match the size of the movie in pixels.
The classid attribute uniquely identifies the player software to use. It must be set to "clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA". This unique code identifies an ActiveX control that must be installed on the users PC before the movie can be played. If the user does not have the ActiveX control installed, the browser can automatically download and install it.
The param elements supply additional information to the player.
The src parameter should point to the movie (or audio) file.
The autostart parameter should have the value "true" if you want the movie to play automatically.
The controls parameter should have the value "ImageWindow" if you don't want the control buttons to show, or "All" if you want all the controls to show.

Controls Parameter Values

Value
Displays
All
Displays a full player with all controls
InfoVolumePanel
Title, author, and copyright and volume slider
InfoPanel
Title, author, and copyright
ControlPanel
Position slider, play, pause, and stop buttons
StatusPanel
Messages, current time position, and clip length
PlayButton
Play and pause buttons
StopButton
Stop button
VolumeSlider
Volume slide
PositionField
Position and clip length
StatusField
Messages
ImageWindow
The video image
StatusBar
Status, position and channels


Multimedia Tag Reference


HTML 4.01 Multimedia Tags

Tag
Description
Deprecated. Defines an embedded applet
<embed>
Deprecated. Defines an embedded applet
Defines an embedded object
Defines a parameter for an object
Complete HTML 4.01 Reference.

Standard Attributes

Attribute
Value
Description
DTD
class
classname
Specifies a classname for an element
STF
dir
rtl
ltr
Specifies the text direction for the content in an element
STF
id
id
Specifies a unique id for an element
STF
lang
language_code
Specifies a language code for the content in an element
STF
style
style_definition
Specifies an inline style for an element
STF
tabindex
number
Specifies the tab order of an element
STF
title
text
Specifies extra information about an element
STF
xml:lang
language_code
Specifies a language code for the content in an element, in XHTML documents
STF
More information about Standard Attributes.

Event Attributes

Attribute
Value
Description
DTD
onclick
script
Script to be run on a mouse click
STF
ondblclick
script
Script to be run on a mouse double-click
STF
onmousedown
script
Script to be run when mouse button is pressed
STF
onmousemove
script
Script to be run when mouse pointer moves
STF
onmouseout
script
Script to be run when mouse pointer moves out of an element
STF
onmouseover
script
Script to be run when mouse pointer moves over an element
STF
onmouseup
script
Script to be run when mouse button is released
STF
onkeydown
script
Script to be run when a key is pressed
STF
onkeypress
script
Script to be run when a key is pressed and released
STF
onkeyup
script
Script to be run when a key is released
STF
More information about Event Attributes.


Windows Media Player Reference


Windows Media Player

Windows Media Player comes in many different versions.
Here are the class ID's of the different versions, with a list of parameters.

Why Has the class ID Changed?

The correct class ID for Windows Media Player 7 and later is: clsid:6BF52A52-394A-11D3-B153-00C04F79FAA6.
Many places on the internet it states that the class ID should be: clsid:22D6F312-B0F6-11D0-94AB-0080C74C7E95. This class ID is the old one, but it will work, because of backward compability. However, if you use the old class ID you will not be able to use the new features added to the component.

Windows Media Player 10

clsid:6BF52A52-394A-11D3-B153-00C04F79FAA6 (same as WMP7)

Windows Media Player 9

clsid:6BF52A52-394A-11D3-B153-00C04F79FAA6 (same as WMP7)

Windows Media Player 7

clsid:6BF52A52-394A-11D3-B153-00C04F79FAA6

Windows Media Player 6.4

clsid:22D6F312-B0F6-11D0-94AB-0080C74C7E95
Parameter
Default
Description
AudioStream
true

AutoSize
true

AutoStart
true
Sets if the player should start automatically
AnimationAtStart
true
Sets if an animation should show while the file loads
AllowScan
true

AllowChangeDisplaySize
true

AutoRewind
false

Balance
false

BaseURL


BufferingTime
5

CaptioningID


ClickToPlay
true
Sets if the player should start when the user clicks in the play area
CursorType
false

CurrentPosition
true

CurrentMarker
false

DefaultFrame


DisplayBackColor
false

DisplayForeColor
16777215

DisplayMode
false

DisplaySize
false

Enabled
true

EnableContextMenu
true

EnablePositionControls
true

EnableFullScreenControls
false

EnableTracker
true

Filename
URL
The URL of the file to play
InvokeURLs
true

Language
true

Mute
false

PlayCount
1

PreviewMode
false

Rate
1

SAMILang


SAMIStyle


SAMIFileName


SelectionStart
true

SelectionEnd
true

SendOpenStateChangeEvents
true

SendWarningEvents
true

SendErrorEvents
true

SendKeyboardEvents
false

SendMouseClickEvents
false

SendMouseMoveEvents
false

SendPlayStateChangeEvents
true

ShowCaptioning
false

ShowControls
true
Sets if the player controls should show
ShowAudioControls
true
Sets if the audio controls should show
ShowDisplay
false
Sets if the display should show
ShowGotoBar
false
Sets if the GotoBar should show
ShowPositionControls
true

ShowStatusBar
false

ShowTracker
true

TransparantAtStart
false

VideoBorderWidth
false

VideoBorderColor
false

VideoBorder3D
false

Volume
-200

WindowlessVideo
false



Windows Media Player 6 (Older Version)

clsid:05589FA1-C356-11CE-BF01-00AA0055595A

Parameter
Default
Description
Appearance
false

AutoStart
false

AllowChangeDisplayMode
true

AllowHideDisplay
false

AllowHideControls
true

AutoRewind
true

Balance
false

CurrentPosition
false

DisplayBackColor
false

DisplayForeColor
16777215

DisplayMode
false

Enabled
true

EnableContextMenu
true

EnablePositionControls
true

EnableSelectionControls
false

EnableTracker
true

Filename


FullScreenMode
false

MovieWindowSize
false

PlayCount
1

Rate
1

SelectionStart
true

SelectionEnd
true

ShowControls
true

ShowDisplay
true

ShowPositionControls
false

ShowTracker
true

Volume
-200



MIME Reference


MIME Types

MIME (Multipurpose Internet Mail Extensions) is an Internet standard for describes message content types.
MIME messages can contain text, images, audio, video, and other application-specific data.
Official MIME info is provided by the Internet Engineering Task Force (IETF) in the following documents:
  • RFC-822   Standard for ARPA Internet text messages
  • RFC-2045 MIME Part 1: Format of Internet Message Bodies
  • RFC-2046 MIME Part 2: Media Types
  • RFC-2047 MIME Part 3: Header Extensions for Non-ASCII Text
  • RFC-2048 MIME Part 4: Registration Procedures
  • RFC-2049 MIME Part 5: Conformance Criteria and Examples
Different applications support different MIME types.
The reference below is a list of MIME types supported by Microsoft Internet Information Server version 5.

MIME Types By Content Type

Type/sub-type
Extension
application/envoy
evy
application/fractals
fif
application/futuresplash
spl
application/hta
hta
application/internet-property-stream
acx
application/mac-binhex40
hqx
application/msword
doc
application/msword
dot
application/octet-stream
*
application/octet-stream
bin
application/octet-stream
class
application/octet-stream
dms
application/octet-stream
exe
application/octet-stream
lha
application/octet-stream
lzh
application/oda
oda
application/olescript
axs
application/pdf
pdf
application/pics-rules
prf
application/pkcs10
p10
application/pkix-crl
crl
application/postscript
ai
application/postscript
eps
application/postscript
ps
application/rtf
rtf
application/set-payment-initiation
setpay
application/set-registration-initiation
setreg
application/vnd.ms-excel
xla
application/vnd.ms-excel
xlc
application/vnd.ms-excel
xlm
application/vnd.ms-excel
xls
application/vnd.ms-excel
xlt
application/vnd.ms-excel
xlw
application/vnd.ms-outlook
msg
application/vnd.ms-pkicertstore
sst
application/vnd.ms-pkiseccat
cat
application/vnd.ms-pkistl
stl
application/vnd.ms-powerpoint
pot
application/vnd.ms-powerpoint
pps
application/vnd.ms-powerpoint
ppt
application/vnd.ms-project
mpp
application/vnd.ms-works
wcm
application/vnd.ms-works
wdb
application/vnd.ms-works
wks
application/vnd.ms-works
wps
application/winhlp
hlp
application/x-bcpio
bcpio
application/x-cdf
cdf
application/x-compress
z
application/x-compressed
tgz
application/x-cpio
cpio
application/x-csh
csh
application/x-director
dcr
application/x-director
dir
application/x-director
dxr
application/x-dvi
dvi
application/x-gtar
gtar
application/x-gzip
gz
application/x-hdf
hdf
application/x-internet-signup
ins
application/x-internet-signup
isp
application/x-iphone
iii
application/x-javascript
js
application/x-latex
latex
application/x-msaccess
mdb
application/x-mscardfile
crd
application/x-msclip
clp
application/x-msdownload
dll
application/x-msmediaview
m13
application/x-msmediaview
m14
application/x-msmediaview
mvb
application/x-msmetafile
wmf
application/x-msmoney
mny
application/x-mspublisher
pub
application/x-msschedule
scd
application/x-msterminal
trm
application/x-mswrite
wri
application/x-netcdf
cdf
application/x-netcdf
nc
application/x-perfmon
pma
application/x-perfmon
pmc
application/x-perfmon
pml
application/x-perfmon
pmr
application/x-perfmon
pmw
application/x-pkcs12
p12
application/x-pkcs12
pfx
application/x-pkcs7-certificates
p7b
application/x-pkcs7-certificates
spc
application/x-pkcs7-certreqresp
p7r
application/x-pkcs7-mime
p7c
application/x-pkcs7-mime
p7m
application/x-pkcs7-signature
p7s
application/x-sh
sh
application/x-shar
shar
application/x-shockwave-flash
swf
application/x-stuffit
sit
application/x-sv4cpio
sv4cpio
application/x-sv4crc
sv4crc
application/x-tar
tar
application/x-tcl
tcl
application/x-tex
tex
application/x-texinfo
texi
application/x-texinfo
texinfo
application/x-troff
roff
application/x-troff
t
application/x-troff
tr
application/x-troff-man
man
application/x-troff-me
me
application/x-troff-ms
ms
application/x-ustar
ustar
application/x-wais-source
src
application/x-x509-ca-cert
cer
application/x-x509-ca-cert
crt
application/x-x509-ca-cert
der
application/ynd.ms-pkipko
pko
application/zip
zip
audio/basic
au
audio/basic
snd
audio/mid
mid
audio/mid
rmi
audio/mpeg
mp3
audio/x-aiff
aif
audio/x-aiff
aifc
audio/x-aiff
aiff
audio/x-mpegurl
m3u
audio/x-pn-realaudio
ra
audio/x-pn-realaudio
ram
audio/x-wav
wav
image/bmp
bmp
image/cis-cod
cod
image/gif
gif
image/ief
ief
image/jpeg
jpe
image/jpeg
jpeg
image/jpeg
jpg
image/pipeg
jfif
image/png
png
image/svg+xml
svg
image/tiff
tif
image/tiff
tiff
image/x-cmu-raster
ras
image/x-cmx
cmx
image/x-icon
ico
image/x-portable-anymap
pnm
image/x-portable-bitmap
pbm
image/x-portable-graymap
pgm
image/x-portable-pixmap
ppm
image/x-rgb
rgb
image/x-xbitmap
xbm
image/x-xpixmap
xpm
image/x-xwindowdump
xwd
message/rfc822
mht
message/rfc822
mhtml
message/rfc822
nws
text/css
css
text/h323
323
text/html
htm
text/html
html
text/html
stm
text/iuls
uls
text/plain
bas
text/plain
c
text/plain
h
text/plain
txt
text/richtext
rtx
text/scriptlet
sct
text/tab-separated-values
tsv
text/webviewhtml
htt
text/x-component
htc
text/x-setext
etx
text/x-vcard
vcf
video/mpeg
mp2
video/mpeg
mpa
video/mpeg
mpe
video/mpeg
mpeg
video/mpeg
mpg
video/mpeg
mpv2
video/quicktime
mov
video/quicktime
qt
video/x-la-asf
lsf
video/x-la-asf
lsx
video/x-ms-asf
asf
video/x-ms-asf
asr
video/x-ms-asf
asx
video/x-msvideo
avi
video/x-sgi-movie
movie
x-world/x-vrml
flr
x-world/x-vrml
vrml
x-world/x-vrml
wrl
x-world/x-vrml
wrz
x-world/x-vrml
xaf
x-world/x-vrml
xof


Mime Types By File Extension

Extension
Type/sub-type

application/octet-stream
323
text/h323
acx
application/internet-property-stream
ai
application/postscript
aif
audio/x-aiff
aifc
audio/x-aiff
aiff
audio/x-aiff
asf
video/x-ms-asf
asr
video/x-ms-asf
asx
video/x-ms-asf
au
audio/basic
avi
video/x-msvideo
axs
application/olescript
bas
text/plain
bcpio
application/x-bcpio
bin
application/octet-stream
bmp
image/bmp
c
text/plain
cat
application/vnd.ms-pkiseccat
cdf
application/x-cdf
cer
application/x-x509-ca-cert
class
application/octet-stream
clp
application/x-msclip
cmx
image/x-cmx
cod
image/cis-cod
cpio
application/x-cpio
crd
application/x-mscardfile
crl
application/pkix-crl
crt
application/x-x509-ca-cert
csh
application/x-csh
css
text/css
dcr
application/x-director
der
application/x-x509-ca-cert
dir
application/x-director
dll
application/x-msdownload
dms
application/octet-stream
doc
application/msword
dot
application/msword
dvi
application/x-dvi
dxr
application/x-director
eps
application/postscript
etx
text/x-setext
evy
application/envoy
exe
application/octet-stream
fif
application/fractals
flr
x-world/x-vrml
gif
image/gif
gtar
application/x-gtar
gz
application/x-gzip
h
text/plain
hdf
application/x-hdf
hlp
application/winhlp
hqx
application/mac-binhex40
hta
application/hta
htc
text/x-component
htm
text/html
html
text/html
htt
text/webviewhtml
ico
image/x-icon
ief
image/ief
iii
application/x-iphone
ins
application/x-internet-signup
isp
application/x-internet-signup
jfif
image/pipeg
jpe
image/jpeg
jpeg
image/jpeg
jpg
image/jpeg
js
application/x-javascript
latex
application/x-latex
lha
application/octet-stream
lsf
video/x-la-asf
lsx
video/x-la-asf
lzh
application/octet-stream
m13
application/x-msmediaview
m14
application/x-msmediaview
m3u
audio/x-mpegurl
man
application/x-troff-man
mdb
application/x-msaccess
me
application/x-troff-me
mht
message/rfc822
mhtml
message/rfc822
mid
audio/mid
mny
application/x-msmoney
mov
video/quicktime
movie
video/x-sgi-movie
mp2
video/mpeg
mp3
audio/mpeg
mpa
video/mpeg
mpe
video/mpeg
mpeg
video/mpeg
mpg
video/mpeg
mpp
application/vnd.ms-project
mpv2
video/mpeg
ms
application/x-troff-ms
mvb
application/x-msmediaview
nws
message/rfc822
oda
application/oda
p10
application/pkcs10
p12
application/x-pkcs12
p7b
application/x-pkcs7-certificates
p7c
application/x-pkcs7-mime
p7m
application/x-pkcs7-mime
p7r
application/x-pkcs7-certreqresp
p7s
application/x-pkcs7-signature
pbm
image/x-portable-bitmap
pdf
application/pdf
pfx
application/x-pkcs12
pgm
image/x-portable-graymap
pko
application/ynd.ms-pkipko
pma
application/x-perfmon
pmc
application/x-perfmon
pml
application/x-perfmon
pmr
application/x-perfmon
pmw
application/x-perfmon
pnm
image/x-portable-anymap
pot,
application/vnd.ms-powerpoint
ppm
image/x-portable-pixmap
pps
application/vnd.ms-powerpoint
ppt
application/vnd.ms-powerpoint
prf
application/pics-rules
ps
application/postscript
pub
application/x-mspublisher
qt
video/quicktime
ra
audio/x-pn-realaudio
ram
audio/x-pn-realaudio
ras
image/x-cmu-raster
rgb
image/x-rgb
rmi
audio/mid
roff
application/x-troff
rtf
application/rtf
rtx
text/richtext
scd
application/x-msschedule
sct
text/scriptlet
setpay
application/set-payment-initiation
setreg
application/set-registration-initiation
sh
application/x-sh
shar
application/x-shar
sit
application/x-stuffit
snd
audio/basic
spc
application/x-pkcs7-certificates
spl
application/futuresplash
src
application/x-wais-source
sst
application/vnd.ms-pkicertstore
stl
application/vnd.ms-pkistl
stm
text/html
svg
image/svg+xml
sv4cpio
application/x-sv4cpio
sv4crc
application/x-sv4crc
swf
application/x-shockwave-flash
t
application/x-troff
tar
application/x-tar
tcl
application/x-tcl
tex
application/x-tex
texi
application/x-texinfo
texinfo
application/x-texinfo
tgz
application/x-compressed
tif
image/tiff
tiff
image/tiff
tr
application/x-troff
trm
application/x-msterminal
tsv
text/tab-separated-values
txt
text/plain
uls
text/iuls
ustar
application/x-ustar
vcf
text/x-vcard
vrml
x-world/x-vrml
wav
audio/x-wav
wcm
application/vnd.ms-works
wdb
application/vnd.ms-works
wks
application/vnd.ms-works
wmf
application/x-msmetafile
wps
application/vnd.ms-works
wri
application/x-mswrite
wrl
x-world/x-vrml
wrz
x-world/x-vrml
xaf
x-world/x-vrml
xbm
image/x-xbitmap
xla
application/vnd.ms-excel
xlc
application/vnd.ms-excel
xlm
application/vnd.ms-excel
xls
application/vnd.ms-excel
xlt
application/vnd.ms-excel
xlw
application/vnd.ms-excel
xof
x-world/x-vrml
xpm
image/x-xpixmap
xwd
image/x-xwindowdump
z
application/x-compress
zip
application/zip