Wanting2LearnMan
asked on
Use javascript to check objects properties.
I wish to look at all the properties of certain objects on my web page.
How can I do this in javascript??
How can I do this in javascript??
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Ok thanks guys.
Ok my proplem is this:
I have a QuickTIme player embedded on my web page. It is viewing video from a server via rtsp. The rtsp server can stream MJPEG and MP4. If just MJPEG or MP4 is streamed then all is ok BUT if the video stream starts off MJPEG then changes to MP4 then Quicktime stops displaying the video at the point of changeover and I don't know why.
I thought an error event would be fired off which I could catch and then request a new stream but nothing is fired off. Also if I call the GetTIme() function of the QuickTime plug-in I see that the time is still incrementing but the video is not being updated.
So far I have found no way to detect that QuickTIme has stopped playing the video.
I was hoping to check ALL the properties of the QuickTIme object and see if anything at all changes when this happens.
What do you guys think? Do you have any ideas on how to solve this problem?
Thanks again.
Ok my proplem is this:
I have a QuickTIme player embedded on my web page. It is viewing video from a server via rtsp. The rtsp server can stream MJPEG and MP4. If just MJPEG or MP4 is streamed then all is ok BUT if the video stream starts off MJPEG then changes to MP4 then Quicktime stops displaying the video at the point of changeover and I don't know why.
I thought an error event would be fired off which I could catch and then request a new stream but nothing is fired off. Also if I call the GetTIme() function of the QuickTime plug-in I see that the time is still incrementing but the video is not being updated.
So far I have found no way to detect that QuickTIme has stopped playing the video.
I was hoping to check ALL the properties of the QuickTIme object and see if anything at all changes when this happens.
What do you guys think? Do you have any ideas on how to solve this problem?
Thanks again.
ASKER
Well any ideas anyone???
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Yes I have asked it in the Apple QT forum and no replies :(
I will google trappable events and see what I can unearth
Thanks
I will google trappable events and see what I can unearth
Thanks
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Thanks for the assist and the points.
Good luck & have a great day.
Good luck & have a great day.
No worries - glad to help.
ASKER
var str="";
for( var property in obj)
{
if( obj[property] !== null && obj[property] !== "" )
{
str += "\n"=property +"="+obj[property];
}
}
document.writeln( str );
The output I got was as follows from the QuickTime plugin: (Excuse the formatting)
childNodes=[object NodeList] canHaveHTML=false nodeName=OBJECT currentStyle=[object CSSCurrentStyleDeclaration
The problem is that the QuickTime plugin exposes other functions such as GetTime(), GetStatus() etc.
I need to get all these as well, how can I do this in javascript??
Many thank for your help so far.