Retrieves the MIME content-type of the object.
Syntax
HTML | N/A |
---|
Scripting | [ sMimeType = ] object.mimeType |
---|
Possible Values
sMimeType | String that
receives the MIME content-type of the object. |
The property is read-only.
The property has no default value.
Remarks
MIME is an abbreviation for Multipurpose Internet Mail Extension.
Example
This example uses the mimeType property to retrieve the MIME content-type of the media object.
<HTML XMLNS:t="urn:schemas-microsoft-com:time">
<HEAD>
<TITLE>mimeType Property</TITLE>
<?IMPORT namespace="t" implementation="#default#time2">
<STYLE>
.time{ behavior: url(#default#time2);}
</STYLE>
</HEAD>
<BODY>
<t:video id="m1" src="../../common/samples/author/behaviors/media/movie.avi" />
<BR><BR>
<B>mimeType:</B>
<SPAN id="mimeType1" class="time" dur="1" repeatCount="indefinite"
onrepeat="mimeType1.innerText=m1.mimeType;"></SPAN>
</BODY>
</HTML>
This feature requires Microsoft?Internet Explorer 5.5 or later. Click the following icon to install the latest version. Then reload this page to view the sample.

Applies To
See Also
Introduction to HTML+TIME