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.

    iframe not showing external content (ip camera view)

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    1 Posts 1 Posters 210 Views 1 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.
    • C Offline
      csongor.varga 0
      last edited by

      I am want to use MMM-HVIEW-Snapshot to bring a IP camera picture into my MM screen.
      In the log, I can see the following

      Failed to load URL: xxxx with error: ERR_BLOCKED_BY_RESPONSE
      

      I have the IP whitelist set to my complete home subnet:

      address: "0.0.0.0",
      ipWhitelist: [["192.168.1.0","192.168.1.253"],"127.0.0.1", "::ffff:127.0.0.1", "::1"],
      

      And the URL I am trying to load is also on the same subnet:

      http://192.168.1.82/cgi-bin/api.cgi?cmd=Snap&channel=0&rs=abcd1234&user=xxx&password=xxx
      

      When I open my MM page in Chrome and check the errors, I see the following:

      Refused to display 'http://192.168.1.82/' in a frame because it set 'X-Frame-Options' to 'sameorigin'.
      

      I assume this is because the browser is not allowing the iframe to load a content from a different IP.

      How can I fix this? Or can you recommend an alternative module that would do the same?

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