AgP42 / MMM-SmartWebDisplay

The `MMM-SmartWebDisplay` module is for MagicMirror². It allow to display any web content to your MagicMirror.
57 stars 14 forks source link

iFrame loads only on remote firefox, not locally on pi/MM #1

Closed flo269 closed 4 years ago

flo269 commented 5 years ago

Hi,

I'm running the latest master of MM on a raspi. I installed MMM-SmartWebDisplay and when I connect to http://magicmirror:8080 from Firefox on my mac, the iFrame gets displayed as expected. However, it does not get displayed "locally" on the raspi/MM itsself.

Any hint on what I could be doing wrong? :-)

Thanks a lot! Cheers Flo

config: { logDebug: true, height: "104px", width: "294px", updateInterval: 1, NextURLInterval: 0, displayStateInfos: false, displayLastUpdate: false, displayLastUpdateFormat: 'ddd - HH:mm:ss', url: ["http://user:pass@10.10.10.58/lcd.htm"], scrolling: "no" }

AgP42 commented 5 years ago

Hello,

I guess it comes from the fact that you need to login with user/password, I also faced such problems previously.

I will check more and let you know !

Bye, AgP

AgP42 commented 5 years ago

Hello @flo269 ,

as I cannot test your URL directly (because I don't know it ! ;-) ), could you please do the following steps :

No other ideas for now...

Let me know, AgP

jasestu commented 5 years ago

I think I'm having a similar issue. I'm using MM inside a network and the MM software won't display the pages, but if I run chromium on the same device and point it at itself as the server then it works fine. I think it might be something to do with sites that don't want to be loaded in iFrames - like google.

AgP42 commented 4 years ago

Hello,

sorry for the very late answer.

Yes it might be something like that. To test if the website you want to display on the module accept to be embedded into iFrames, you can use this tool : https://jsfiddle.net/westonruter/6mSuK/

AgP42 commented 4 years ago

Hi,

more than a month without answer, I consider it close, let me know if you still need help !

AgP