webcam
Forum rules
IMPORTANT NOTE!!
DO YOU HAVE A QUESTION OR PROBLEM AND WANT QUICK HELP?
THEN PLEASE SHARE A "DEMO" PROJECT.
PLEASE READ THE FORUM RULES BEFORE YOU POST:
http://www.wysiwygwebbuilder.com/forum/viewtopic.php?f=12&t=1901
MUST READ:
http://www.wysiwygwebbuilder.com/getting_started.html
WYSIWYG Web Builder FAQ
IMPORTANT NOTE!!
DO YOU HAVE A QUESTION OR PROBLEM AND WANT QUICK HELP?
THEN PLEASE SHARE A "DEMO" PROJECT.
PLEASE READ THE FORUM RULES BEFORE YOU POST:
http://www.wysiwygwebbuilder.com/forum/viewtopic.php?f=12&t=1901
MUST READ:
http://www.wysiwygwebbuilder.com/getting_started.html
WYSIWYG Web Builder FAQ
webcam
Hi and good morning,
I think, this is not WB related, but I try to ask here anyway:
I am just building a new site to replace an older, non rersponsive one.
There is a webcam. The picture is placed as I-frame with the address pointing direct to the jpg at the server.
With the old site no problem:
http://bergfried.net/html/webcam.html
I did the same with WB.
http://siehorst.de/bergtest/webcam.html
When calling from my desktop I will see the correct up to date picure, but if I use my mobile devices, an older version of the pic will be displayed. Refreshing is no help.
At the above right corner is a time / date stamp, the pic will be refreshed every minute.
Any ideas?
Thank you, horst
p.s.: Yes we konw, the front protection glas of the cam has to be cleaned
I think, this is not WB related, but I try to ask here anyway:
I am just building a new site to replace an older, non rersponsive one.
There is a webcam. The picture is placed as I-frame with the address pointing direct to the jpg at the server.
With the old site no problem:
http://bergfried.net/html/webcam.html
I did the same with WB.
http://siehorst.de/bergtest/webcam.html
When calling from my desktop I will see the correct up to date picure, but if I use my mobile devices, an older version of the pic will be displayed. Refreshing is no help.
At the above right corner is a time / date stamp, the pic will be refreshed every minute.
Any ideas?
Thank you, horst
p.s.: Yes we konw, the front protection glas of the cam has to be cleaned
Re: webcam
Your old website does not use an inline frame but a standard image.
Although I do not think this will make any difference, you can try to use a standard image in WWB as well.
Although I do not think this will make any difference, you can try to use a standard image in WWB as well.
Re: webcam
Ups, you are true . That has been in an older version of the site. Too long ago.
Standard image or picture isn't supporting live webadresses for pictures. If I paste the link it will download the pic locally.
But I think I found a method, will see.
Standard image or picture isn't supporting live webadresses for pictures. If I paste the link it will download the pic locally.
But I think I found a method, will see.
Re: webcam
You can also use an absolute link in the Image object. Just copy the URL in the filename field.
Re: webcam
Mstery : I tried that alaready but did work in the way I described (just locally download).
But now the url is loading the pic, strange.
But the initial described problem is remaining: with the desktop I get the actual valid picture, with the handy an old version of the pic will be displayed.
I will try a dedicated refresh button.
horst
Re: webcam
I think this is related to the cache of the browser.
WWB has no control over the image, because it is loaded from the server.
WWB has no control over the image, because it is loaded from the server.
Re: webcam
Sadly even a 'refresh' button does not work
Re: webcam
Hi again,
has anyone an idea how to get it running that a server saved webam picture will be displayed not only with dektop but with mobile devices?
On a mobile the browsers are refusing to load a fresh image from the server but will display an old version.
horst
has anyone an idea how to get it running that a server saved webam picture will be displayed not only with dektop but with mobile devices?
On a mobile the browsers are refusing to load a fresh image from the server but will display an old version.
horst
Re: webcam
I do not think this has anything to do with WWB.
The software does not do anything with the image It is just a reference to the image on the server.
The software does not do anything with the image It is just a reference to the image on the server.
Re: webcam
Yes Pablo, I know, but maybe here is someone around who knows how to get a result.
I can't imagine, that I am the only one how is implementing a webcam
horst
I can't imagine, that I am the only one how is implementing a webcam
horst
- BaconFries
-
- Posts: 5328
- Joined: Thu Aug 16, 2007 7:32 pm
Re: webcam
From the lack of replies you may be the only one. Now I don't have experience with this but have you tried using the followingI can't imagine, that I am the only one how (who) is implementing a webcam
Code: Select all
<meta http-equiv="refresh" content="15"/>
<meta http-equiv="expires" content="0"/>
Code: Select all
<script type="text/javascript">
// <![CDATA[
var refreshrate = 30; // seconds between refresh
var image = "http://yourwebsite.co.uk/webcampicture.jpg"; // image name
var imgwidth = 640; // image width
var imgheight = 480; // image height
var imgalt = "WebCam Image";
var imgtitle = "header=[WebCam Image] body=[WebCam Image Automatically Updated Every 30 Seconds] delay=[1000]";
function refresh() { document.images["pic"].src = image + "?" + new Date(); setTimeout('refresh()', refreshrate * 1000); }
document.write('<img src="' + image + '" alt="' + imgalt + '" title="' + imgtitle + '" name="pic" id="pic" width="' + imgwidth + '" height="' + imgheight + '" style="border: none;" />');
if(document.images)window.onload=refresh;
// ]]>
</script>
https://cumulus.hosiene.co.uk/viewtopic.php?t=15374
As mentioned I don't have experience with using a webcam in web pages so cannot say if any of the above will work.
Re: webcam
Buuhhhähhh, yes I am
Thank you for your efforts, but as you argued, it does not work. 'refresh' is not a suitable command. I recognize the refresh of the page, but the pic still remains.
Ir I find an answer, I will report.
horst
Re: webcam
A little update:
On Android: Firefox is updating the picture on manual and local 'Load new' command.
Chrome is refusing, but not only with the webcam picture but with others too if changed.
On Apple devices it seem to be uneven.
horst
On Android: Firefox is updating the picture on manual and local 'Load new' command.
Chrome is refusing, but not only with the webcam picture but with others too if changed.
On Apple devices it seem to be uneven.
horst