home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 2001 August
/
PCWorld_2001-08_cd.bin
/
Software
/
Topware
/
winmpl71
/
mp71.exe
/
RCDATA
/
CABINET
/
Miniplayer.wmz
/
miniplayer.js
< prev
next >
Wrap
Text File
|
2001-03-02
|
552b
|
27 lines
/*
⌐2000 Microsoft Corporation. All rights reserved.
*/
function OnOpenStateChange()
{
if(player.OpenState == osMediaOpen)
{
UpdateMetadata();
}
}
function UpdateMetadata()
{
metadata.value =
player.currentmedia.getiteminfo("author");
var temp = player.currentmedia.name;
if(temp != "")
{
if(metadata.value != "")
{
metadata.value += " -- ";
}
metadata.value += temp;
}
metadata.scrolling = metadata.textWidth>metadata.width;
}