author property
Gets the name of the media file author.
Syntax
JScript |
---|
|
Property values
Type: String
the name of the media file author.
Remarks
If the author's name is not available, an empty string ("") is returned.
When the author property is used with an Advanced Stream Redirector (ASX) file, it gets the author of the current active entry—not the author of the ASX file itself.
Examples
This example uses the author property to retrieve the name of the media file author.
Code example: http://samples.msdn.microsoft.com/workshop/samples/author/behaviors/author.htm
<HTML XMLNS:t="urn:schemas-microsoft-com:time">
<HEAD>
<TITLE>author 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/shuttle4.wmv" />
<span id="author1" style="position:absolute;top:165px;">Author:</span>
<P style=position:absolute;top:190px;">
<BUTTON id="b1" onclick="author1.innerText=m1.author">Click here for author</BUTTON>
</P>
</BODY>
</HTML>