Re: Reading the clientData
From: Ravi Raman (ravira_at_Online.microsoft.com)
Date: 08/19/04
- Previous message: Oleg Z: "Windows Media Load Simulator Error Log: Delay to Open?"
- In reply to: Florian Brandel: "Re: Reading the clientData"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 19 Aug 2004 12:40:48 -0700
Florian,
Just so you know, it is possible that the client data
information is available a little bit late in the
Javascript than if you do it on a local file.
The key is that you should not access the properties
immediately after opening the file. I presume that the
code you mentioned below, you access it immediately after
you call the Open or Play on the player control. Instead
access the properties a second or two later after opening
content( you can use the setTimeout option in JScript with
1000 as timeout(i.e, 1 second) and another function to be
called at end of timeout and in that function access the
media information) - the information will be available.
Hope this helps.
Ravi
-- This posting is provided "AS IS" with no warranties, and confers no rights. >-----Original Message----- >me again, it works ;) > >i must reload the JS code (in another frame), then it gives me the >currentMedia information. without reloading I just get the >Publishingpoint information... > >greets >florian >. >
- Previous message: Oleg Z: "Windows Media Load Simulator Error Log: Delay to Open?"
- In reply to: Florian Brandel: "Re: Reading the clientData"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|