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.
    • 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
            • V Offline
              Vauxdvihl
              last edited by

              @Mykle1
              hi Mykle1
              Thanks for this great module
              I am receiving the following message:
              0_1574459231654_f5d8639b-37ed-4775-800c-aa00281e48cf-grafik.png

              Do you have an idea?
              Thanks a lot
              Best Regards

              1 Reply Last reply Reply Quote 0
              • rudibaraniR Offline
                rudibarani Project Sponsor
                last edited by

                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!

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

                  @rudibarani i submitted a change request to upgrade to 6.0.12 on the next update

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  1 Reply Last reply Reply Quote 0
                  • E Offline
                    Egnos
                    last edited by

                    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?

                    2020-04-02-162749-1920x1080-scrot
                    fotoonline

                    Thanks for your interesting modules.

                    @Mykle1 PS: do you like my “Astronomy” page? :smiling_face_with_open_mouth_cold_sweat:

                    My Mirror https://forum.magicmirror.builders/topic/17262/the-raspimirror-was-born/7

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

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

                      @Mykle1 PS: do you like my “Astronomy” page?

                      I do. I like all things related to the cosmos. :thumbsup:

                      I just loaded up both modules and was able to close both warning messages. The modules are both working as expected, as you can see from the screenshot. Can you please try again?

                      Create a working config
                      How to add modules

                      E 1 Reply Last reply Reply Quote 0
                      • E Offline
                        Egnos @Mykle1
                        last edited by Egnos

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

                        @Egnos said in MMM-EARTH-Live & MMM-ISS-Live:
                        I just loaded up both modules and was able to close both warning messages. The modules are both working as expected, as you can see from the screenshot. Can you please try again?
                        />

                        Do I have to enable the mouse pointer or do I have to be on t the module?

                        My Mirror https://forum.magicmirror.builders/topic/17262/the-raspimirror-was-born/7

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