Read the statement by Michael Teeuw here.
Display web widget on mirror through iFrame?
-
@Mitch1138 There no way to force update using iFrame. Its a something is possible add a option for autorefresh. I think will not difficult added. Why do you no try?
-
Thanks, I like your confidence in my abilities! I will keep working on trying to find a way to update the link.
-
@Mitch1138 as a hint, check how other modules update their content.
-
Thanks for the tip, but I didn’t have a lot of success. I punted and installed Auto Refresh Plus extension in Chrome. Running in server mode I can use this to refresh the page on a predefined time cycle.
-
Is more easy than that. Check out the function and use of
scheduleUpdatefunction.
https://github.com/MichMich/MagicMirror/blob/master/modules/default/currentweather/currentweather.js
Is of currentweather module. -
hello
I also heve problem with iframer. This is what put in my config. but can’t make auto play with adding -->&autoplay=1{ module: 'iFrame', position: 'bottom_left', // This can be any of the regions. config: { // See 'Configuration options' for more information. url: src="https://www.youtube.com/embed/I7hV-5GHWhc", width: '360px', // Optional. Default: 100% height: '360px', //Optional. Default: 100px } }, -
-
already resolved the problem, replace “&” with “?” in the url the video.
Thanks
-
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:
-
will do if you do:
open frame in new tab
and then paste in:
url:src=“http://cdnx.tribalfusion.com/media/6869616/assets/tab2/tab2.html”, -
Or
http://cdnx.tribalfusion.com/media/6869616/assets/video1.mp4
if you like this one :-)
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