Hi Wim, have same problem with cam image, would you tell me please whats wrong with it. If i trying to open an cam adress in browser ,works good. But here not Schleswig-Holstein Deutschland Home Weather Station (wd version).
Hi kwwa12,
I split the topic as adding a new message to a solved topic does no help to get attention.
Could you please not address me personally if you have a question?
This is a forum and for every problem there are dozens of knowledgable persons who has solved similar problems.
Also try to tell us:
- what you want to accomplish
- what you already tested and the error/warnings you got.
This forum is not run by a company who pays their employees to answer questions from customers.
Those persons who answer questions and help to iron out the problems are spending their free time on this.
So start with the debug console console . . /PWS_module_test.php
The webcam block shows no image
Run in the browser: . . /_test.php?test=webcam_c_block.php
Do a right-click → inspect and the error message is clear:
The image http://vgladus.ddns.net:54000/cgi-bin/viewer/video.jpg generates a
Failed to load resource: net::ERR_SSL_PROTOCOL_ERROR
As it is loaded in a https page.
Succes,
Wim
Thank you for your help/tip. I contacted you personally because I thought it would be quicker. Sorry.
Failed to load resource: net::ERR_SSL_PROTOCOL_ERROR
This occurs when the image to display is only available with a http-URL.
When the site is https most (and shortly all) browsers will show a “not found” image as “unsafe” http content may not be enclosed on a “save” https website.
This problem can be solved easily.
- Write a smal script to load the http image and save it on your website
- Run this script using a cron-server every x minutes.
You can than the https-URL of your own webserver for the image location.
Another solution:
In the pwsWD/_my_settings/ folder there is a smal script imgcurl.php
This script can be used (adapted) to
- download any external file,
- store it on your webserver and
- display its contents when requested.
Advantage: The script only loads the image when there is a visitor to your website
Con: It adds the image-loading time to the response
Others have adepted the script to load → display any kind of file, image, movie, text a.s.o.
Succes,
Wim
Thank you for your help