Read the statement by Michael Teeuw here.
MMM-EARTH-Live & MMM-ISS-Live
-
Thank you all yes I did that got it working now its showing a red screen?
-
The module is showing red or the entire MM?
-
was weird just he Module then after about 6 hours and a few reboots came good however the live feed on my mac was perfect atm its working fine, must have been a gremlin lol
-
Hello,
Currently I struggle with a problem that already seems to be know but I somehow can not fix it. MMM-EARTH-LIVE is not autoplaying for me.I have already tried adding :
app.commandLine.appendSwitch(‘autoplay-policy’, ‘no-user-gesture-required’); //< -------- addedto the recommended place in MagicMirror/js/electron.js but without any results. Further I have tried to update to the latest version of the electron browser with “npm install electron@latest” but that has also not helped me with the autoplay problem.
Is there further thins that I can try or any possibility that I did something wrong above?
Thanks for any help!
-
I also had some issues with the autostart but upgrading my electron seems to have fixed the issue with both modules. As long and you followed the “workaround” directions in the readme. it should work.
Please try letting the modules run and see if they eventually start. I have seen this behavior. It may have to do with the feed being blacked out for periods of time at the source.
So, please verify the workaround was done and that you are running the newest electron. My electron is at 11.3.
Peace!
-
Can anyone help please, I can’t get the feed to autoplay with Electron 15.3.0 even after adding the following
app.commandLine.appendSwitch(‘autoplay-policy’, ‘no-user-gesture-required’);
This is how the line looks in electron.jsfunction createWindow() {
app.commandLine.appendSwitch(‘autoplay-policy’, ‘no-user-gesture-required’);
let electronSwitchesDefaults = [“autoplay-policy”, “no-user-gesture-required”];
app.commandLine.appendSwitch(…new Set(electronSwitchesDefaults, config.electronSwitches));
let electronOptionsDefaults = { -
@ruskythegreat autoplay is now part of the webPreferences config
https://www.electronjs.org/docs/latest/api/browser-window
but, I have heard others say this setting also doesn’t work
(I did the change request to set it as it is now)
also, your electron should be 13.5.1 (on MM version 2.17.1)
-
@sdetweil I did run npm install electron@latest but yes, I am running MM 2.17.1
-
@ruskythegreat we haven’t tested above 13.5.1
-
@sdetweil I just downgraded to 13.5.1 but still no auto play.