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-iFrame-Ping - revisited

    Scheduled Pinned Locked Moved Utilities
    8 Posts 3 Posters 2.0k Views 3 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 @ebolisa
      last edited by sdetweil

      @ebolisa on a pi0 you are running chromium-browser, on a pi4, u are using electron js browser

      i suspect u have to do some setup on chromium

      see the 4th post here
      https://www.raspberrypi.org/forums/viewtopic.php?t=291066

      add the parm to the invocation of chromium in ~/MagicMirror/run-start.sh

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      ebolisaE 1 Reply Last reply Reply Quote 0
      • ebolisaE Offline
        ebolisa @sdetweil
        last edited by

        @sdetweil you mean in line 78?

        chromium-browser -noerrdialogs -kiosk -start_maximized  --disable-features=AudioServiceSandbox --disable-infobars --app=...
        

        the other way I get an error:

        pi@magicmirror:~/MagicMirror $ chromium-browser --disable-features=AudioServiceSandbox
        [1974:1974:0216/221501.872136:ERROR:browser_main_loop.cc(1432)] Unable to open X display.
        
        S 1 Reply Last reply Reply Quote 0
        • S Offline
          sdetweil @ebolisa
          last edited by

          @ebolisa correct.

          the second way probably fails because u are on an ssh session, and need to define the DISPLAY to use

          export DISPLAY=:0

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          KamiSchamiK ebolisaE 2 Replies Last reply Reply Quote 0
          • KamiSchamiK Offline
            KamiSchami @sdetweil
            last edited by

            I also stream YouTube videos but I don’t !!! want to hear any sound. Does the module regularly play no sound?

            Real programmers never work 9 to 5. If they are around at 9 AM, it's because they were up all night.

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

              @kamischami according to this,

              https://peter.sh/experiments/chromium-command-line-switches/

              the

              –mute-audio

              parm should mute any audio

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              1 Reply Last reply Reply Quote 0
              • ebolisaE Offline
                ebolisa @sdetweil
                last edited by

                @sdetweil making progress by tweaking a bit the line shown above to

                chromium-browser --autoplay-policy=no-user-gesture-required --noerrdialogs --incognito --kiosk -start_maximized  --disable-features=AudioServiceSandbox --disable-infobars --app=...
                

                However, streaming video on a P0 is not the best way to go so, I decided to just stream audio with this link http://stream-uk1.radioparadise.com/mp3-192. It’s much easer on buffering ;)

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

                  @ebolisa pi 0 is tough to of a lot different things at once

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  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