Nuta
Dostęp do tej strony wymaga autoryzacji. Możesz spróbować się zalogować lub zmienić katalog.
Dostęp do tej strony wymaga autoryzacji. Możesz spróbować zmienić katalogi.
Gets the MIME type of the object.
Syntax
| JScript |
|---|
|
Property values
Type: String
the content type of the object.
Remarks
mimeType was introduced in Microsoft Internet Explorer 6.
Examples
This example uses the mimeType property to get the MIME type of the media object.
Code example: http://samples.msdn.microsoft.com/workshop/samples/author/behaviors/mimetype.htm
<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="/workshop/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>