copyright property

Gets the copyright information associated with a media file.

Syntax

JScript
cpyrght = object.copyright

 

Property values

Type: String

the copyright information associated with the media file.

Remarks

If the copyright information is not available, an empty string ("") is returned.

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

Examples

This example uses the copyright property to retrieve the copyright information of a media file.

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

<HTML XMLNS:t="urn:schemas-microsoft-com:time">
<HEAD>
<TITLE>copyright 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="copyright1" style="position:absolute;top:165px;">Copyright:</SPAN>

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

See also

playItem

animation

audio

img

media

ref

video

Introduction to HTML+TIME