PcExpert Posted March 26, 2009 Posted March 26, 2009 (edited) Hi all,I want to modify the refresh rate of a webcam stream (http://images.earthcam.com/ec_metros/ourca...;img_height=480). I want to set the refreshrate to, for example, 5 seconds. I noticed this line (line 45) in the source code:[color="#0000ff"]var[/color] so = [color="#0000ff"]new[/color] SWFObject([color="#800000"]"/swf/dotcom_live_viewer_multi_size.swf?http://images.earthcam.com/ec_metros/ourcams/fridays.jpg,50,1000"[/color], [color="#800000"]"viewer"[/color], [color="#800000"]"240"[/color], [color="#800000"]"160"[/color], [color="#800000"]"7"[/color], [color="#800000"]"#ffffff"[/color],true);You can see that the refreshrate is currently set to 7 seconds. My question is, how to modify that value to 5. I have looked at _IEBodyWriteHTML() function, but I dont think that that function can do what I want. I also copied the complete source to a html file on my computer, but then the stream didnt work anymore.Thanks! Edited March 26, 2009 by PcExpert
jvanegmond Posted March 26, 2009 Posted March 26, 2009 (edited) Oops! This link appears broken.I went to: http://images.earthcam.com/ec_metros/ourcams/fridays.jpgand the actual image only refreshes itself approx once every 5 seconds. There's no real point setting it to 5 instead of 7 ..It has no point anyway. Just 2 seconds? Edited March 26, 2009 by Manadar github.com/jvanegmond
PcExpert Posted March 26, 2009 Author Posted March 26, 2009 Thanks Manadar. Indeed, you're right. Even with manual refresh the picture stays the same, only five seconds later there's a new image. Thanks anyway:)
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now