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-EasyBack YouTube force video quality

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    6 Posts 2 Posters 1.2k 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.
    • D Offline
      Darkmx-6
      last edited by

      Hello,

      I am currently running my Mirror on a raspberry pi 3 (originally on a zero swapped SD to a 3) in mirrored mode. I think that is what the mode is called.

      I’m going to reinstall soon in regular mode but I want to buy another SD card so that I don’t loose all the work I’ve done so far.

      My problem currently is that the quality on youtube seems to be 480p.

      I also see that there is a place where I can adjust the size to fit the screen but adjusting the pixels. How do I know how many pixels I should adjust it to? Would that fix the problem? I hope I am posting in the right place.

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

        bunch of stuff in google search “youtube playback resolution”

        usually the screen size is 1280/1024 or 1920/1080 (4k is 3840x2160)

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        1 Reply Last reply Reply Quote 0
        • D Offline
          Darkmx-6
          last edited by

          @sdetweil said in MMM-EasyBack YouTube force video quality:

          google search “youtube playback resolution”
          usually the screen size is 1280/1024 or 1920/1080 (4k is 3840x2160)

          Yeah I don’t think that is the problem right now. I’m using the default which is 1080/1920

          I think it has to do with it being in mirrored mode. I wonder if there is some place I can force it to 1080p

          S 1 Reply Last reply Reply Quote 0
          • S Offline
            sdetweil @Darkmx-6
            last edited by sdetweil

            @Darkmx-6 what do you mean mirrored?

            you mean split mode, serveronly and then some other browser on a different machine (or same, but different browser)

            i ‘think’ the videos open where the browser is… not where the server is.

            yeh, easyback just opens an iframe (in the browser) and launches youtube there… roughly the same way it works when u launch a video normally

            if (this.config.youTubeID != '') {
            
                    var iframe = document.createElement("IFRAME");
                    iframe.classList.add("iframe");
                    iframe.style = "border: 0 none transparent ";
                    iframe.width = this.config.width;
                    iframe.height = this.config.height;
                    type="text/javascript";
                    iframe.src="https://www.youtube.com/embed/" + this.config.youTubeID + "?autoplay=1&loop=1&playlist=" + this.config.youTubeID;
            
                    return iframe;
            

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            1 Reply Last reply Reply Quote 0
            • D Offline
              Darkmx-6
              last edited by Darkmx-6

              Yes, split mode,

              I need to install it normally. I think a few of my problems are related to that.

              in that code what would I adjust to make it 1080p

              unfortunately I also don’t know where that code is found either…

              Sorry

              S 1 Reply Last reply Reply Quote 0
              • S Offline
                sdetweil @Darkmx-6
                last edited by

                @Darkmx-6 there is only one install… but two ways to run it…

                just change your mm.sh from

                node serveronly
                to
                npm start

                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