• 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.

Updated version of MMM-iFrame

Scheduled Pinned Locked Moved Utilities
13 Posts 5 Posters 9.9k 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 Jun 9, 2017, 1:34 AM

    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 Jun 9, 2017, 4:26 PM Reply Quote 3
    • A Offline
      alberttwong
      last edited by Jun 9, 2017, 1:42 AM

      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 Jun 9, 2017, 3:29 PM Reply Quote 1
      • A Offline
        alberttwong @alberttwong
        last edited by Jun 9, 2017, 3:29 PM

        @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 Jun 9, 2017, 4:26 PM

          @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 Jun 9, 2017, 5:03 PM Reply Quote 0
          • A Offline
            alberttwong @Anhalter42
            last edited by Jun 9, 2017, 5:03 PM

            @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 Jun 9, 2017, 10:49 PM Reply Quote 0
            • A Offline
              Anhalter42 @alberttwong
              last edited by Jun 9, 2017, 10:49 PM

              @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 Jun 14, 2017, 1:27 AM Reply Quote 0
              • C Offline
                Chiumanfu
                last edited by Chiumanfu Jun 13, 2017, 9:23 PM Jun 13, 2017, 9:23 PM

                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 Jun 14, 2017, 1:14 AM Reply Quote 0
                • A Offline
                  alberttwong @Chiumanfu
                  last edited by Jun 14, 2017, 1:14 AM

                  @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 Jun 14, 2017, 1:27 AM

                    @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 Apr 13, 2018, 1:40 AM

                      @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 Apr 13, 2018, 11:10 AM Reply Quote 0
                      • 1
                      • 2
                      • 1 / 2
                      • 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