YePpHa / YouTubeCenter

YouTube Center is a userscript designed to expand the functionality of YouTube. It includes the ability to download the video you're watching, auto selecting your preferred video quality and much more.
MIT License
2.89k stars 520 forks source link

playlist crunches #2339

Open YouTubeEdge opened 7 years ago

YouTubeEdge commented 7 years ago

When playing a playlist it will show as believed it normally should for a second and then seems to "crunch" into the upper right... sometimes... most of the time, mostly at the beginning of the playlist, I feel. I have checked my other addons and they don't seem to be the cause.

Screenshot

kilara1988 commented 7 years ago

Yeah.That happens when you use the small player view with a playlist.With the "Theater" view the play list shows fine. I used to use a small view player with custom 720p size,but had to move to a "Theater" view because of that bug.Got used to the "Theater" view now.

On a side note if i set a custom size for a player view after i change to it from the button in the player,i can no longer change to the other view.The button stops working.Changing views works fine with default player sizes.

EDIT:Forgot to mention that i use FF 52 Beta 4 and Win 10 x64.

Quisquose commented 7 years ago

I'm experiencing exactly same problem.

Whenever I enable Player > Player Size > Enable Resize it causes the Playlist area (besides the player window) to collapse so that there's only a tiny strip of the playlist barely visible at the top of the window.

When viewing videos that are NOT part of a playlist, there's no such problem. The list of 'suggested' videos correctly displays beside the player window, and this list slides down and out of the way when the large player / cinema mode button is pressed on the player.

If I disable just the YTC Resize feature, then the Playlist goes back to displaying correctly again.

The issue only happens for me in Firefox. In Opera I don't experience any such issue when YouTube Center's auto-resize is enabled.

kilara1988 commented 7 years ago

I confirm that disabling Resize option fixes the playlist issue.

Sollace commented 7 years ago

I've got a piece of css that appears to fix the playlist issue (at least better than my first attempt, which I can't really find any more):

    .watch-small #player-playlist {
      margin-top: 0 !important; /*override the margin so it doesn't fly out the top*/
    }
    #player-playlist .watch-playlist {
      height: 360px; /*fix the size so it doesn't crunch - see class '.player-height'*/
    }
    @media (min-height: 360px) {
      #player-playlist .watch-playlist {
        height: 480px; /*as above*/
      }
    }
    .ytcenter-resize .watch-small #player-api {
      position: absolute !important; /*reset player positioning to absolute for the small player*/
    }
YePpHa commented 7 years ago

Actually, this issue should be fixed in the latest version. Could someone verify this?

kilara1988 commented 7 years ago

Just tested it with v546 and with the small player it is still broken(exactly like the screenshot from 1st comment).

YePpHa commented 7 years ago

okay

YePpHa commented 7 years ago

It seems to be working in Chrome. I will try to test it in Firefox.

Sollace commented 7 years ago

Alrighty, thanks~

YouTubeEdge commented 7 years ago

Ayy, just wanted to say thanks for all the activity here guys and the add-on in general.

@kilara1988 kilara1988 commented 4 days ago

I confirm that disabling Resize option fixes the playlist issue.

Yeah I remember there was a work around for this funk but I'd completely forgot what it was, thanks!