Read the statement by Michael Teeuw here.
Display web widget on mirror through iFrame?
-
For instant example
somthing like : http://192.168.0.12/photo/#!Albums -
Here is the output of home.html:


-
@fox
I share on my local net. photo albumhttp://192.168.0.12/photo/#!Albums!0_1489511516394_Screen Shot 2017-03-14 at 17.09.56.png
-
@michael24h said in Display web widget on mirror through iFrame?:
@fox
I share on my local net. photo albumhttp://192.168.0.12/photo/#!Albums!0_1489511516394_Screen Shot 2017-03-14 at 17.09.56.png
Ok i understand. But why is it not working on my screen :(
-
@fox said in Display web widget on mirror through iFrame?:
Because this address http://poolpi/home.html don’t exist.
you pooling public domain ->poolpi
you basically telling MM to pull public domain which this is address -> http://poolpi/home.html
but in local network need be local address
->http://192.168.0.12/photo/#!Albums -
if I’m go to my documents and create folder called 5html. and in this folder paste my tample home.html. and then open on thisame pc or mac computer using web browser will work ok.
but from another machine won’t open, because I’m not sharing this doc on my local network -
I changed it to the local ip:

also the config
{ module: "MMM-iFrameReload", position: "top_right", header: "", config: { url: "http://192.168.188.30/home.html", width: "100%", height: "100%px" } },then restarted mm but still nothing :(

Despite, thank you very much @michael24h that you help me in such details :) -
can you open this html doc from anather machine ? in local network
if not you not sharing this document called .html in local net -

next
next

-
@michael24h said in Display web widget on mirror through iFrame?:
can you open this html doc from anather machine ? in local network
if not you not sharing this document called .html in local netNow i have created also a folder “pool” and point to the folder (file is now index.html) and the config points only to the folder. but also no effect.

Also checked with another computer in same network, the PC shows the page… Only mm, respective the MMM-iFrame module does not show the content
-
I also copied the html file to the Magic-Mirror-Raspi:
http://192.168.188.25:8080/modules/MMM-iFrameReload/index.html{ module: "MMM-iFrameReload", position: "top_right", header: "", config: { url: "http://192.168.188.25:8080/modules/MMM-iFrameReload/index.html", width: "100%", height: "100%px" } },Also no effect
-
I’m not to sure what is the problem.
I share page html form my mac to local network
page called cookie-policy.html
place in iframe

Just wanted ask have you tried with another page. youtube or anything ? -
-
I got it… really weird:
This works: https://github.com/desertblade/iFrameThis does not work: https://github.com/TheBogueRat/MMM-iFrameReload

I checke the posts in this tread and i saw that you are using iFrame instead of iFrameReload :)
Now i must update this but i will likely do this with shedule updater. Thank you michael
-
@fox said in Display web widget on mirror through iFrame?:
Actually I Didn’t know there two different iframe modules.
I’m glad you work out this -
@michael24h said in Display web widget on mirror through iFrame?:
@fox said in Display web widget on mirror through iFrame?:
Actually I Didn’t know there two different iframe modules.
I’m glad you work out thisI think the diffference is, that the Reload-module can update the content.
Thank you :) -
I didn’t help much. but thanks
-
Hi I did think about iframe iFrameReload.
and works very good. no problem so far…
html doc going too
MagicMirror/modules/MMM-iFrameReload{
module: ‘MMM-iFrameReload’,
header:‘Traffic Map’,
position: ‘bottom_left’, // This can be any of the regions.
config: {
url: “http://localhost:8080/modules/MMM-iFrameReload/anyname.html”,
width: “380px”,
height: “400px”,
refreshInterval: 800
} -
this will help you with traffic map for example
https://support.google.com/maps/answer/18539?co=GENIE.Platform%3DDesktop&hl=en -
There are some comments on the github section for TheBogueRat-MMM-iFrameReload that it will not refresh with some url’s. I have a similar problem. Some suggested appending the current time/date to the url but this gives an invalid url. Has anyone got this to work? My config is:
{ module: 'MMM-iFrameReload', position: 'top_center', // This can be any of the regions. config: { // See 'Configuration options' for more information. url: "http://tides.tidegraph.com/api/tidegraph.php?bg=black&scale=.8&station=Old Frenchtown Wharf, Elk River, Maryland", width: "100%", // Optional. Default: 400px height: "450px", // Optional. Default: 800px refreshInterval: 1800 //Optional. Default: 3600 = 1 hour } },Many thanks.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login