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.

    electron.js HELP

    Scheduled Pinned Locked Moved Troubleshooting
    10 Posts 2 Posters 2.0k Views 2 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.
    • M Offline
      Manu85
      last edited by

      @sdetweil ok, the module crashes from time to time and I have a message telling me that I have an update problem (something like that) and I have a photo of the horizon with a sunset

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

        @Manu85 could you be a little more specific on the error… if using pm2 to start, show the part in the output from

        pm2 logs --lines=100
        

        the line

        app.commandLine.appendSwitch(‘autoplay-policy’, ‘no-user-gesture-required’);
        

        only applies to video or audio files

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        M 1 Reply Last reply Reply Quote 0
        • M Offline
          Manu85 @sdetweil
          last edited by

          @sdetweil you know me well :-)

          1 Reply Last reply Reply Quote 0
          • M Offline
            Manu85
            last edited by

            @sdetweil
            I don’t see this line!

            app.commandLine.appendSwitch(‘autoplay-policy’, ‘no-user-gesture-required’);

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

              @Manu85 ver 2.11 direct from github

              function createWindow() {
              	app.commandLine.appendSwitch("autoplay-policy", "no-user-gesture-required");
              

              I added that in ver 2.8 last year

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              1 Reply Last reply Reply Quote 0
              • M Offline
                Manu85
                last edited by

                @sdetweil Thank you for your answer

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