Read the statement by Michael Teeuw here.
MMM-EARTH-Live & MMM-ISS-Live
-
@TamP said in MMM-EARTH-Live & MMM-ISS-Live:
When my MagicMirror starts, the ISS module appears, but I have to click a play button on it, to start the app. Is this as should be, or is there a way to get the live stream, when the mirror starts without any interaction.
Great module thoughIt absolutely should start without clicking a play button. When did you clone the repo? My initial upload to the repo required you to click a play button but a later upload/update included the fix for that.
Have you modified anything?
Line 38 of the MMM-ISS-Live.js file should look like this:
iframe.src="https://www.ustream.tv/embed/9408562?html5ui?autoplay=1";
If it does not you should do a
git pull
in the MMM-ISS-Live directory -
@Mykle1 line 38 is correct but I did a git pull anyway but to no avail
-
starting with one of the newer electron builds, (and chrome, and mozilla) they have implemented a new ’ no autoplay’ policy.
they require a user to click on the web page somewhere to enable autoplay…there is a workaround
edit mm/js/electron.js
and change the code like thisfunction createWindow() { app.commandLine.appendSwitch('autoplay-policy', 'no-user-gesture-required'); //< -------- added var electronOptionsDefaults = {
then restart MM… autoplay will work now
-
Thanks for that, It does as you say and starts without the playbutton
-
@sdetweil said in MMM-EARTH-Live & MMM-ISS-Live:
starting with one of the newer electron builds, (and chrome, and mozilla) they have implemented a new ’ no autoplay’ policy.
I did not know this. Thank you, Sam. :thumbsup:
-
I’ll be checking this out after work today, thank you
-
@Mykle1
hi Mykle1
Thanks for this great module
I am receiving the following message:
Do you have an idea?
Thanks a lot
Best Regards -
Hi @Vauxdvihl,
I had the same problem with another module. You can find what worked for me here: https://forum.magicmirror.builders/topic/11185/electron-browser-outdated
Good luck! -
@rudibarani i submitted a change request to upgrade to 6.0.12 on the next update
-
Hi @Mykle1,
After lunartic I also installed these two modules: MMM-ISS Live and MMM-Earth Live. I’m your fan …:grinning_face_with_smiling_eyes:I have the problem mentioned by @Vauxdvihl and @rudibarani, but for the ISS Live module I was able to close the message with the mouse, for the Earth Live module it is not possible … the pointer has no effect!
Could you help me?Thanks for your interesting modules.
@Mykle1 PS: do you like my “Astronomy” page? :smiling_face_with_open_mouth_cold_sweat: