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

MMM-iFrame or MMM-iFrame-Ping show nothing since last update

Scheduled Pinned Locked Moved Solved Troubleshooting
7 Posts 4 Posters 2.2k Views 4 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.
  • B Offline
    BluP Project Sponsor
    last edited by Apr 14, 2019, 3:06 PM

    Hi everybody,

    Just recently updated MM from 2.4.0 to 2.7.1 including all modules.
    Unfortunately had issues with MMM-Remote-Control first but used the fixes described on Github.
    But both MMM-iFrame or MMM-iFrame-Ping don’t show anything.
    I used MMM-iFrame to show a live video stream from my frontdoor using another Pi with Motion and using a curl command to show the iFrame on the MM when movement was detected and hide it after a while. That worked perfectly. I also could use this via homekit and ask Siri to turn on the Frontdoor Cam for example.

    I can see via http://MyMMIP:8080/remote?action=MODULE_DATA that the state of “hidden” changes between “true” and “false” when I use MMM-Remote-Control from my Mac or iPhone or when i use the buttons (show/hide Module iFrame)
    But it shows nothing…

    Anybody here who has an iFrame up and running with MM 2.7.1.

    My other modules:
    calendar_monthly
    MMM-Carousel
    MMM-iFrame-Ping or MMM-iFrame
    MMM-RandomPhoto or MMM-BackgroundSlideshow
    MMM-Tado
    MMM-DWD-WarnWeather
    MMM-ModuleScheduler
    MMM-Remote-Control
    MMM-Tools
    MMM-EasyPix
    MMM-MyCommute
    MMM-Snow
    MMM-Wunderlist
    MMM-Buttons
    MMM-NetworkScanner
    MMM-syslog
    netatmo

    Thanks,

    B 1 Reply Last reply Apr 18, 2019, 2:34 PM Reply Quote 0
    • B Offline
      BluP Project Sponsor @BluP
      last edited by BluP Apr 18, 2019, 2:34 PM Apr 18, 2019, 2:34 PM

      @BluP: Got additional information from the console:
      update3
      MMM-iFrame.js:26

      Resource interpreted as Document but transferred with MIME type multipart/x-mixed-replace: “”.
      main.js:210 Resource interpreted as Document but transferred with MIME type multipart/x-mixed-replace: “http://192.168.178.8:8081/”.

      @alberttwong: can you give me a hint what needs to be adjusted?
      @cowboysdude : I’ve searched the forum and also github and saw that yiou once had issues with iframe as well…any hints from your side?

      Thx, Peter

      C S 2 Replies Last reply Apr 25, 2019, 1:44 AM Reply Quote 0
      • C Offline
        cowboysdude Module Developer @BluP
        last edited by Apr 25, 2019, 1:44 AM

        @BluP Don’t really have any suggestions other then play with the settings.

        1 Reply Last reply Reply Quote 0
        • S Offline
          sdetweil @BluP
          last edited by Apr 25, 2019, 1:53 AM

          @BluP open the developers window, ctrl-shift-i, then select the console tab, and scroll up to see any errors, red text

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          B 2 Replies Last reply Apr 27, 2019, 2:34 PM Reply Quote 0
          • B Offline
            Binog
            last edited by Binog Apr 25, 2019, 7:45 AM Apr 25, 2019, 7:37 AM

            I do get this:

            [Error] Refused to execute http://ip:8080/modules/iFrameReload//iFrameReload.js as script because "X-Content-Type: nosniff" was given and its Content-Type is not a script MIME type.
            
            Error on loading script: – "modules/iFrameReload//iFrameReload.js"
            onerror — loader.js:190
            
            Refused to display 'https://www.google.com/maps/' in a frame because it set 'X-Frame-Options' to 'SAMEORIGIN'.
            

            What can I do about this?

            1 Reply Last reply Reply Quote 0
            • B Offline
              BluP Project Sponsor @sdetweil
              last edited by Apr 27, 2019, 2:34 PM

              @sdetweil Hi Sam, I tried that and the I got warnings about MMM-iFrame:

              main.js:210 Resource interpreted as Document but transferred with MIME type multipart/x-mixed-replace: "http://192.168.178.8:8081/".
              updateModuleContent	@	main.js:210
              (anonymous)	@	main.js:139
              updateDomWithContent	@	main.js:137
              (anonymous)	@	main.js:119
              Promise.then (async)		
              (anonymous)	@	main.js:118
              updateDom	@	main.js:109
              updateDom	@	main.js:518
              updateDom	@	module.js:358
              (anonymous)	@	MMM-iFrame.js:25
              

              The url is my other RasPi running Monitor displaying a video from my frontdoor.

              As I stated in my 1st post, all was good since I upgraded to 2.7.1… :-(
              Any more hints?
              Thx, Peter

              1 Reply Last reply Reply Quote 0
              • B Offline
                BluP Project Sponsor @sdetweil
                last edited by May 5, 2019, 2:26 PM

                @sdetweil
                I finally got it working again!:thumbs_up:

                I did a full fresh installation on a new SD card with complete latest Raspian and new MM and all the modules I used before…and still the same behavior: MMM-IFrame showed nothing and I got the same warnings as mentioned below.

                Then I tried MMM-SmartWebDisplay by @AgP42 which finally displays my video stream again. (BTW: This also works with other URLs as described in the documentation)
                Many thanks for this module.:clapping_hands:

                For all having issues with MMM-iFrame, MMM-IFrame-Ping etc., try MMM-SmartWebDisplay.
                Don’t forget to do a NPM install in the module folder once the module is cloned.

                Thanks, Peter

                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