Read the statement by Michael Teeuw here.
MMM-EARTH-Live & MMM-ISS-Live
-
Just when I thought I had my mirror set up how I liked it you do this?
Thanks
-
@motdog said in MMM-EARTH-Live & MMM-ISS-Live:
Just when I thought I had my mirror set up how I liked it you do this?
haha . . . I’m sorry? :-)
-
More cool contributions from @Mykle1 !! Thank you for providing these modules. Really appreciate the time and effort.
-
@jcasman said in MMM-EARTH-Live & MMM-ISS-Live:
Thank you for providing these modules. Really appreciate the time and effort.
You are welcome, sir. I really enjoy doing this. If people like my modules then it is even more satisfying for an old dude like me. I do appreciate your kind words. Thank you, my friend. :thumbsup:
-
@Mykle1 Two excellent modules.
Your work is greatly appreciated. -
@stacywebb said in MMM-EARTH-Live & MMM-ISS-Live:
@Mykle1 Two excellent modules.
Your work is greatly appreciated.
And I wholeheartedly agree -
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 though -
@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