• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
MagicMirror Forum
  • Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.

Display web widget on mirror through iFrame?

Scheduled Pinned Locked Moved Troubleshooting
60 Posts 9 Posters 59.5k Views 9 Watching
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    strawberry 3.141 Project Sponsor Module Developer @Mitch1138
    last edited by Jan 18, 2017, 1:58 PM

    @Mitch1138 as a hint, check how other modules update their content.

    Please create a github issue if you need help, so I can keep track

    1 Reply Last reply Reply Quote 0
    • M Offline
      Mitch1138
      last edited by Jan 19, 2017, 1:45 PM

      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.

      1 Reply Last reply Reply Quote 0
      • R Offline
        roramirez Core Contributors
        last edited by Jan 19, 2017, 2:15 PM

        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.

        Easy module development with MagicMirror Module Template

        1 Reply Last reply Reply Quote 0
        • M Offline
          michael24h
          last edited by yawns Mar 9, 2017, 2:57 PM Mar 9, 2017, 2:56 PM

          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
          				}
          			
          		},
          
          1 Reply Last reply Reply Quote 0
          • M Offline
            michael24h
            last edited by Mar 9, 2017, 4:45 PM

            @roramirez said in Display web widget on mirror through iFrame?:

            &autoplay=1

            Anyone

            1 Reply Last reply Reply Quote 0
            • M Offline
              michael24h
              last edited by Mar 9, 2017, 4:59 PM

              already resolved the problem, replace “&” with “?” in the url the video.

              Thanks

              1 Reply Last reply Reply Quote 0
              • L Offline
                looolz
                last edited by Mar 13, 2017, 8:53 PM

                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.

                1 Reply Last reply Reply Quote 0
                • M Offline
                  michael24h
                  last edited by Mar 13, 2017, 8:58 PM

                  @looolz said in Display web widget on mirror through iFrame?:

                  http://www.yr.no/sted/Norge/Oslo/Oslo/Oslo/meteogram.png

                  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
                  }

                  	},
                  
                  1 Reply Last reply Reply Quote 0
                  • M Offline
                    michael24h
                    last edited by Mar 13, 2017, 8:59 PM

                                url: "http://www.yr.no/sted/Norge/Oslo/Oslo/Oslo/meteogram.png",
                               your missing " , " after .png
                    
                    L 1 Reply Last reply Mar 13, 2017, 9:07 PM Reply Quote 0
                    • L Offline
                      looolz @michael24h
                      last edited by looolz Mar 13, 2017, 9:10 PM Mar 13, 2017, 9:07 PM

                      @michael24h aaaaaaaah!

                      Yes! That worked, thanks!

                      1 Reply Last reply Reply Quote 0
                      • 1
                      • 2
                      • 3
                      • 4
                      • 5
                      • 6
                      • 2 / 6
                      • First post
                        Last post
                      Enjoying MagicMirror? Please consider a donation!
                      MagicMirror created by Michael Teeuw.
                      Forum managed by Sam, technical setup by Karsten.
                      This forum is using NodeBB as its core | Contributors
                      Contact | Privacy Policy