Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Gets the rating of the media file.
Syntax
| JScript |
|---|
|
Property values
Type: String
the rating of the media file.
Remarks
If the rating information is not available, an empty string ("") is returned.
Examples
This example uses the rating property to retrieve the rating of the media file.
Code example: http://samples.msdn.microsoft.com/workshop/samples/author/behaviors/rating.htm
<HTML XMLNS:t="urn:schemas-microsoft-com:time">
<HEAD>
<TITLE>rating Property</TITLE>
<?IMPORT namespace="t" implementation="#default#time2">
<STYLE>
.time{ behavior: url(#default#time2);}
</STYLE>
</HEAD>
<BODY>
<t:video id="m1" style="height:100px"
src="/workshop/samples/author/behaviors/media/shuttle3.wmv" />
<span id="rating1">Rating:</span>
<P style="position:absolute;top:190px;">
<BUTTON id="b1" onclick="rating1.innerText=m1.rating">Click here for rating</BUTTON>
</P>
</BODY>
</HTML>