• 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 60.1k 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.
  • 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
          • M Offline
            michael24h
            last edited by Mar 13, 2017, 9:07 PM

            no worries

            L 1 Reply Last reply Mar 13, 2017, 9:09 PM Reply Quote 0
            • L Offline
              looolz @michael24h
              last edited by Mar 13, 2017, 9:09 PM

              @michael24h By the way, the example config from the readme.md also lacks the comma.

              1 Reply Last reply Reply Quote 0
              • M Offline
                michael24h
                last edited by Mar 14, 2017, 3:19 PM

                Usual thing good use to

                1 Reply Last reply Reply Quote 0
                • F Offline
                  fox
                  last edited by Mar 14, 2017, 3:59 PM

                  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

                  Issues With MMM-WatchDog known?

                  https://forum.magicmirror.builders/post/29827

                  Useful for PIR-Sensor: https://forum.magicmirror.builders/post/21299

                  M 1 Reply Last reply Mar 14, 2017, 4:08 PM Reply Quote 0
                  • M Offline
                    michael24h @fox
                    last edited by Mar 14, 2017, 4:08 PM

                    @fox
                    can you post config

                    F 1 Reply Last reply Mar 14, 2017, 4:20 PM Reply Quote 0
                    • F Offline
                      fox @michael24h
                      last edited by fox Mar 14, 2017, 4:22 PM Mar 14, 2017, 4:20 PM

                      @michael24h

                                              module: "MMM-iFrameReload",
                                              position: "top_right",
                                              header: "",
                                              config: {
                                                      url: "http://192.168.188.30/indexsmall.html",
                                                      width: "100%",
                                                      height: "150px"
                                              }
                                      },
                      
                      

                      page:

                      http://pastebin.com/KjhxUpYZ

                      Issues With MMM-WatchDog known?

                      https://forum.magicmirror.builders/post/29827

                      Useful for PIR-Sensor: https://forum.magicmirror.builders/post/21299

                      1 Reply Last reply Reply Quote 0
                      • 1
                      • 2
                      • 3
                      • 4
                      • 5
                      • 6
                      • 3 / 6
                      3 / 6
                      • First post
                        24/60
                        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