Home | Top | Free Ajax Editor | JavaScript Editor JavaScript EditorGet Advanced
JavaScript and Ajax Editor,
Validator and Debugger!

1st JavaScript Editor.


mimeType Property

Retrieves the MIME content-type of the object .

Syntax

HTML Scripting
N/A
[ 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="/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>

Applies To

[ Object Name ] Platform Version
Win32:
 
t:ANIMATION , t:AUDIO , t:IMG , t:MEDIA , t:REF , t:VIDEO
Home | Top | Free Ajax Editor | JavaScript Editor JavaScript EditorGet Advanced
JavaScript and Ajax Editor,
Validator and Debugger!

1st JavaScript Editor.