Sign in to follow this  
Followers 0
PcExpert

Modify source of a HTML page

3 posts in this topic

#1 ·  Posted (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 by PcExpert

Share this post


Link to post
Share on other sites



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:)

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0