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.

    Updated version of MMM-iFrame

    Scheduled Pinned Locked Moved Utilities
    13 Posts 5 Posters 11.8k Views 5 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.
    • A Offline
      alberttwong
      last edited by

      It seems that the orginal iFrame developer is MIA so I took his code and all the patches and also made some updates to support loading multiple pages and rotating them on a interval. Get the code at https://github.com/alberttwong/MMM-iFrame

      A 1 Reply Last reply Reply Quote 3
      • A Offline
        alberttwong
        last edited by

        I currently use this on MM to see my dlink webcams streams. http://forums.dlink.com/index.php?PHPSESSID=ag1ne0jgnnl7uft3s1ssts14p4&topic=59173.0

        A 1 Reply Last reply Reply Quote 1
        • A Offline
          alberttwong @alberttwong
          last edited by

          @alberttwong said in Updated version of MMM-iFrame:

          http://forums.dlink.com/index.php?PHPSESSID=ag1ne0jgnnl7uft3s1ssts14p4&topic=59173.0

          Specifically Nest Camera and D-Link Camera streams.

          1 Reply Last reply Reply Quote 0
          • A Offline
            Anhalter42 @alberttwong
            last edited by

            @alberttwong might be useful to be able to update contents on resume (instead of/additional to updating interval based). This is one thing I missed in the original iFrame module.

            A 1 Reply Last reply Reply Quote 0
            • A Offline
              alberttwong @Anhalter42
              last edited by

              @Anhalter42 So I’m a bit new with this. How can you get the resume code to invoke in node serveronly mode so that I can see if the method really executed (as of right now, no one has told me how to get console logs except in serveronly mode).

              A 1 Reply Last reply Reply Quote 0
              • A Offline
                Anhalter42 @alberttwong
                last edited by

                @alberttwong don’t know if I understand correctly… you just do the same as you already do on interval ticks, but in resume(). I guess it would be nice to have an option to trigger it on/off.
                You can start MM2 with npm start dev to see console output. Is that the question?

                A 1 Reply Last reply Reply Quote 0
                • C Offline
                  Chiumanfu
                  last edited by Chiumanfu

                  Hows the long term stability of displaying the DLink video stream? I have a Foscam displaying in iFrame and it crashes MM ramdomly every 24 hours or so.

                  A 1 Reply Last reply Reply Quote 0
                  • A Offline
                    alberttwong @Chiumanfu
                    last edited by

                    @Chiumanfu I have it rotate between the 5+ cameras I have. I haven’t tried to have it on a single cam for hours.

                    1 Reply Last reply Reply Quote 0
                    • A Offline
                      alberttwong @Anhalter42
                      last edited by

                      @Anhalter42 So I tried to put in some log statements at the resume() but it doesn’t seem to show up in console. Not sure what I’m doing wrong. You can see https://github.com/alberttwong/MMM-iFrame/commit/21a2563c01ccd74f20395c06cecba7e13f4e1cde

                      1 Reply Last reply Reply Quote 0
                      • N Offline
                        nagaculun
                        last edited by

                        @alberttwong

                        I am using the iframe module to display trendnet ip cam. It shows, but not the size I wanted. Can it be zoomed ?

                        Thanks

                        C 1 Reply Last reply Reply Quote 0
                        • C Offline
                          cyberphox @nagaculun
                          last edited by

                          @nagaculun wondering the same about zooming in and out the video to fit in iframe

                          Full time Dad, DJ and entertainer and lover of technology.

                          N 1 Reply Last reply Reply Quote 0
                          • N Offline
                            nagaculun @cyberphox
                            last edited by

                            @cyberphox I ended up using the global zoom.

                            1 Reply Last reply Reply Quote 0
                            • N Offline
                              nagaculun
                              last edited by

                              @alberttwong My camera feed sometimes suddenly stop streaming. How do I debug this ?

                              1 Reply Last reply Reply Quote 0

                              Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                              Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                              With your input, this post could be even better 💗

                              Register Login
                              • 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