Read the statement by Michael Teeuw here.
Display web widget on mirror through iFrame?
-
Well, autoplay is a option of Youtube,
Add
autoplay=1
to urlhttps://www.youtube.com/embed/6kgH6kqNuWM?list=PL24DEF584E7DBB4CF&autoplay=1
-
Thank You Guys worked like a charm. :)
-
@yawns Great, thanks so much, it’s working now :-)
-
I am able to get iFrame to display a widget and it works well, the the widget is not updated. Is there a way to force an update every 15 min or so?
Thanks, Mitch
-
@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
scheduleUpdate
function.
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 } },