Compartir a través de


abstract Property

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

Gets a description of the media file.

Syntax

HTML N/A
Scripting [ sDesc = ] object.abstract

Possible Values

sDesc String that receives a description of the media file.

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

Remarks

If the description of the media is not available, an empty string ("") is returned.

When the abstract property is used with an Advanced Stream Redirector (ASX) file, it gets the abstract of the current active entry—not the abstract of the ASX file itself.

Example

This example uses the abstract property to retrieve the description of the media file.

<HTML XMLNS:t ="urn:schemas-microsoft-com:time">
<HEAD>
<TITLE>abstract Property</TITLE>
<?IMPORT namespace="t" implementation="#default#time2">

<STYLE>
    .time{ behavior: url(#default#time2);}
</STYLE>
</HEAD>

<BODY TOPMARGIN=0 LEFTMARGIN=0 BGPROPERTIES="FIXED" BGCOLOR="#FFFFFF"
    LINK="#000000" VLINK="#808080" ALINK="#000000">

<t:video id="m1" style="position:absolute;top:50px;height:100px"
    src="/workshop/samples/author/behaviors/media/shuttle3.wmv" />

<span id="abstract1" style="position:absolute;top:165px;">Abstract:</span>

<P style=position:absolute;top:190px;">
<BUTTON id="b1" onclick="abstract1.innerText=m1.abstract">Click here for abstract</BUTTON>
</P>
</BODY>
</HTML>

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

Applies To

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

See Also

Introduction to HTML+TIME