Read the statement by Michael Teeuw here.
Display web widget on mirror through iFrame?
-
same problem, still not working. Loading the module breaks the file. Here is my code:
{ module: 'iFrame', position: 'bottom_bar', // This can be any of the regions. config: { // See 'Configuration options' for more information. url: "http://www.yr.no/sted/Norge/Oslo/Oslo/Oslo/meteogram.png" width: "828px" // Optional. Default: 100% height: "272px" //Optional. Default: 100px } },
The only detail I’ve found in the documentation that seems a little off, is that it suggests the URL formatting to be as such:
url: "http:http://example.com/"
But that still doesn’t work.
-
@looolz said in Display web widget on mirror through iFrame?:
this one work on my clock
{
module: ‘iFrame’,
position: ‘bottom_left’, // This can be any of the regions.
config: {
// See ‘Configuration options’ for more information.
url: “http://www.yr.no/sted/Norge/Oslo/Oslo/Oslo/meteogram.png”,
width: ‘220%’, // Optional. Default: 100%
height: ‘360px’, //Optional. Default: 100px
}},
-
url: "http://www.yr.no/sted/Norge/Oslo/Oslo/Oslo/meteogram.png", your missing " , " after .png
-
@michael24h aaaaaaaah!
Yes! That worked, thanks!
-
no worries
-
@michael24h By the way, the example config from the readme.md also lacks the comma.
-
Usual thing good use to
-
Does the page i want to embedd should meet minimum requirements?
I checked here: https://validator.w3.org/#validate_by_input and no problems found. But iFrame-module does not show the page -
@fox
can you post config -
module: "MMM-iFrameReload", position: "top_right", header: "", config: { url: "http://192.168.188.30/indexsmall.html", width: "100%", height: "150px" } },
page: