MagicMirror² v2.13.0 is available! For more information about this release, check out this topic.

MMM-EasyBack YouTube force video quality



  • 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.



  • bunch of stuff in google search “youtube playback resolution”

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



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



  • @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;
    


  • 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



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

    just change your mm.sh from

    node serveronly
    to
    npm start


Log in to reply