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.

    MMM-EARTH-Live & MMM-ISS-Live

    Scheduled Pinned Locked Moved Education
    47 Posts 13 Posters 21.4k Views 14 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.
    • Mykle1M Offline
      Mykle1 Project Sponsor Module Developer @jcasman
      last edited by

      @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:

      Create a working config
      How to add modules

      1 Reply Last reply Reply Quote 1
      • S Offline
        stacywebb @Mykle1
        last edited by

        @Mykle1 Two excellent modules.
        Your work is greatly appreciated.

        T 1 Reply Last reply Reply Quote 2
        • T Offline
          TamP @stacywebb
          last edited by

          @stacywebb said in MMM-EARTH-Live & MMM-ISS-Live:

          @Mykle1 Two excellent modules.
          Your work is greatly appreciated.
          And I wholeheartedly agree

          1 Reply Last reply Reply Quote 3
          • T Offline
            TamP
            last edited by

            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

            Mykle1M 1 Reply Last reply Reply Quote 0
            • Mykle1M Offline
              Mykle1 Project Sponsor Module Developer @TamP
              last edited by

              @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 though

              It 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

              Create a working config
              How to add modules

              T 1 Reply Last reply Reply Quote 0
              • T Offline
                TamP @Mykle1
                last edited by

                @Mykle1 line 38 is correct but I did a git pull anyway but to no avail

                1 Reply Last reply Reply Quote 0
                • S Offline
                  sdetweil
                  last edited by sdetweil

                  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 this

                  function createWindow() {
                      app.commandLine.appendSwitch('autoplay-policy', 'no-user-gesture-required');  //< -------- added
                      var electronOptionsDefaults = {
                  

                  then restart MM… autoplay will work now

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  Mykle1M 1 Reply Last reply Reply Quote 2
                  • T Offline
                    TamP
                    last edited by

                    Thanks for that, It does as you say and starts without the playbutton

                    1 Reply Last reply Reply Quote 0
                    • Mykle1M Offline
                      Mykle1 Project Sponsor Module Developer @sdetweil
                      last edited by

                      @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:

                      Create a working config
                      How to add modules

                      1 Reply Last reply Reply Quote 0
                      • F Offline
                        fulmik Project Sponsor
                        last edited by

                        I’ll be checking this out after work today, thank you

                        1 Reply Last reply Reply Quote 0
                        • 1
                        • 2
                        • 3
                        • 4
                        • 5
                        • 3 / 5
                        • 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