Export (0) Print
Expand All
end
src
src
URL
Expand Minimize
This topic has not yet been rated - Rate this topic

mimeType Property

This topic documents a feature of HTML+TIME 2.0, which is obsolete as of Windows Internet Explorer 9.

Gets the MIME type of the object.

Syntax

HTML N/A
Scripting [ sMimeType = ] object.mimeType

Possible Values

sMimeType String that receives the content type of the object.

The property is read-only. The property has no default value.

Remarks

mimeType was introduced in Microsoft Internet Explorer 6.

Example

This example uses the mimeType property to get the MIME 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="/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>

Code example: http://samples.msdn.microsoft.com/workshop/samples/author/behaviors/mimetype.htm

Applies To

t:ANIMATION, t:AUDIO, t:IMG, t:MEDIA, t:REF, t:VIDEO

See Also

Introduction to HTML+TIME
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.