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 64.4k 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.
    • foxF Offline
      fox
      last edited by

      I also copied the html file to the Magic-Mirror-Raspi:
      http://192.168.188.25:8080/modules/MMM-iFrameReload/index.html

                      {
                              module: "MMM-iFrameReload",
                              position: "top_right",
                              header: "",
                              config: {
                                      url: "http://192.168.188.25:8080/modules/MMM-iFrameReload/index.html",
                                      width: "100%",
                                      height: "100%px"
                              }
                      },
      
      

      Also no effect

      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
      • michael24hM Offline
        michael24h
        last edited by

        I’m not to sure what is the problem.
        I share page html form my mac to local network
        page called cookie-policy.html
        place in iframe
        0_1489513430808_IMG_0420.JPG
        Just wanted ask have you tried with another page. youtube or anything ?

        1 Reply Last reply Reply Quote 0
        • michael24hM Offline
          michael24h
          last edited by michael24h

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

          url: “http://192.168.188.25:8080/modules/MMM-iFrameReload/index.html”,

          See if this works

          http://cdnx.tribalfusion.com/media/6869616/assets/video1.mp4

          1 Reply Last reply Reply Quote 0
          • foxF Offline
            fox
            last edited by

            @michael24h

            I got it… really weird:
            This works: https://github.com/desertblade/iFrame

            This does not work: https://github.com/TheBogueRat/MMM-iFrameReload

            alt text

            I checke the posts in this tread and i saw that you are using iFrame instead of iFrameReload :)

            Now i must update this but i will likely do this with shedule updater. Thank you michael

            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
            • michael24hM Offline
              michael24h
              last edited by

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

              https://github.com/TheBogueRat/MMM-iFrameReload

              Actually I Didn’t know there two different iframe modules.
              I’m glad you work out this

              foxF 1 Reply Last reply Reply Quote 0
              • foxF Offline
                fox @michael24h
                last edited by

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

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

                https://github.com/TheBogueRat/MMM-iFrameReload

                Actually I Didn’t know there two different iframe modules.
                I’m glad you work out this

                I think the diffference is, that the Reload-module can update the content.
                Thank you :)

                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
                • michael24hM Offline
                  michael24h
                  last edited by

                  I didn’t help much. but thanks

                  1 Reply Last reply Reply Quote 1
                  • michael24hM Offline
                    michael24h
                    last edited by

                    Hi I did think about iframe iFrameReload.
                    and works very good. no problem so far…
                    html doc going too
                    MagicMirror/modules/MMM-iFrameReload

                    {
                    module: ‘MMM-iFrameReload’,
                    header:‘Traffic Map’,
                    position: ‘bottom_left’, // This can be any of the regions.
                    config: {
                    url: “http://localhost:8080/modules/MMM-iFrameReload/anyname.html”,
                    width: “380px”,
                    height: “400px”,
                    refreshInterval: 800
                    }

                    1 Reply Last reply Reply Quote 0
                    • michael24hM Offline
                      michael24h
                      last edited by

                      this will help you with traffic map for example
                      https://support.google.com/maps/answer/18539?co=GENIE.Platform%3DDesktop&hl=en

                      1 Reply Last reply Reply Quote 0
                      • Mitch1138M Offline
                        Mitch1138
                        last edited by

                        There are some comments on the github section for TheBogueRat-MMM-iFrameReload that it will not refresh with some url’s. I have a similar problem. Some suggested appending the current time/date to the url but this gives an invalid url. Has anyone got this to work? My config is:

                        {
                        module: 'MMM-iFrameReload',
                        position: 'top_center', // This can be any of the regions.
                        config: {
                                // See 'Configuration options' for more information.
                                    url: "http://tides.tidegraph.com/api/tidegraph.php?bg=black&scale=.8&station=Old Frenchtown Wharf, Elk River, Maryland",
                                    width: "100%", // Optional. Default: 400px
                                    height: "450px", // Optional. Default: 800px
                                    refreshInterval: 1800  //Optional. Default: 3600 = 1 hour
                                }
                        },
                        

                        Many thanks.

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