getItemInfoByType problem
WMPTalk.com Forum Index WMPTalk.com
Discuss Windows Media Player
 
 FAQFAQ   MemberlistMemberlist     RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Google
 
Web wmptalk.com
getItemInfoByType problem

 
Post new topic   Reply to topic    WMPTalk.com Forum Index -> Windows Media on Web
Author Message
Simon K
Guest





Posted: Wed Aug 04, 2004 3:41 am    Post subject: getItemInfoByType problem Reply with quote

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>

Back to top
 
Post new topic   Reply to topic    WMPTalk.com Forum Index -> Windows Media on Web All times are GMT
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



Microsoft Office Forum New Topics
Powered by phpBB