Simon K
Guest
|
Posted:
Wed Aug 04, 2004 3:41 am Post subject:
getItemInfoByType problem |
|
|
Hi!
I'm trying to gather some information from a .wma file for my web embedded
player. This is information that I know the .wma contain.
But the only info I can collect is "Title". I also need "Duration" and
"Author". But when I switch "Title" in the code below, with one of the other
two I get: "Invalid procedure call or argument"
Does anyone know why?
Thanks in advance /simon K
My code:
<SCRIPT language=JScript type=text/jscript>
function MyAttribs() {
myinfo = player.currentMedia.getItemInfoByType("Title", "", 0);
document.getElementById("mytext").innerHTML += ""+ myinfo +"";
}
</SCRIPT>
|
|