Nota
O acesso a esta página requer autorização. Podes tentar iniciar sessão ou mudar de diretório.
O acesso a esta página requer autorização. Podes tentar mudar de diretório.
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>