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.

    MMM-iframes

    Scheduled Pinned Locked Moved Utilities
    6 Posts 4 Posters 1.2k Views 3 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.
    • D Offline
      draxiom
      last edited by

      I wanted a way to cycle through a list of live webcams, that are freely available, as well as local sources from CCTV security cameras; so I created the MMM-iframes module . The example configuration includes YouTube live embed urls and the salesforce tower cameras as well as other random live webcam feeds. If a keyboard is connected, buttons can be configured to switch the camera feed source arbitrarily and cycle through the list of cameras faster than the configured update interval. I don’t use my MagicMirror behind a mirror, and have only tested this with a desk monitor.

      https://github.com/mathew-fleisch/MMM-iframes/

      R 1 Reply Last reply Reply Quote 2
      • R Offline
        richRiggins @draxiom
        last edited by

        @draxiom

        This is exactly what I was looking for to cycle through weather radar GIFs and images from the NWS.

        Any idea how to hide scrollbars that show up in the iFrame?

        plainbrokeP 1 Reply Last reply Reply Quote 0
        • plainbrokeP Offline
          plainbroke @richRiggins
          last edited by

          @richRiggins
          Did you figure that out about the scroll bars? I have one that has the same issue that I have not been able to figure out how to get rid of…

          Slow learner. But trying anyways.

          S 1 Reply Last reply Reply Quote 0
          • S Offline
            sdetweil @plainbroke
            last edited by

            @plainbroke the stuff in the iframe is because of the page size it was rendered for.

            So to remove the scroll bars you have to change the page size,
            Some attribute on the request. BUT the page will be different too

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            plainbrokeP 1 Reply Last reply Reply Quote 0
            • plainbrokeP Offline
              plainbroke @sdetweil
              last edited by

              @sdetweil
              Ok, I get it now… I just need to go in and resize that logo.png file I am using and it should get rid of the slide, Correct…

              Slow learner. But trying anyways.

              S 1 Reply Last reply Reply Quote 0
              • S Offline
                sdetweil @plainbroke
                last edited by sdetweil

                @plainbroke yes, or you can try this in your custom. css

                .modulename iframe {
                    overflow:hidden;
                }
                

                that should clip off the content at the iframe size

                a deprecated attribute that ‘may’ still work,
                set scroll=“no” on the iframe statement itself. (but you would have to change the code for this)

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                1 Reply Last reply Reply Quote 1
                • 1 / 1
                • 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