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 519 forks source link

Weird player bouncy bug. #1497

Open Puk4400 opened 9 years ago

Puk4400 commented 9 years ago

Hello. I stumbled upon a very unpleasing issue.

Current version and settings: v488, default settings except "grid subscription" unchecked; "prevent auto-play" checked; "auto-resolution 1440p" and "player size" at 70%. I tried older versions too, same issue.

Issue: Playing a video with HTML5 is causing the player to bounce up and down constantly, even after paused. More like, the video itself starts bouncing inside the player and the player bar disappears while the video is bouncing down and appears when the video moves back inside the player. It's a bit tough to explain. I suppose this is caused by the video bar since on flash i don't have this issue and the bar goes down completely on playback while on HTML5 it stays visible all the time.

I installed v488 today and i played videos perfectly fine with no problems, but suddenly this started to happen and even changing versions doesn't do anything. I didn't change any of the settings. The issue started out of nowhere.

JonET commented 9 years ago

Same here. Making me a little sick.

Puk4400 commented 9 years ago

I can quickly fix it by playing with flash, but flash tends to get laggy those days and HTML5 currently has almost the same picture quality with consistent FPS and an overall smoother experience than flash. At least for me, so this issue is bugging me a little.

Zarggg commented 9 years ago

Reporting this issue as well. It only seems to happen when returning from full-screen view. Bouncing continues even if the video is paused.

Debug Log: https://gist.github.com/38a32e60c2aab2596b5d

Puk4400 commented 9 years ago

For me it happens regardless if i go to fullscreen or not.

deathdragon1987 commented 9 years ago

Same here. I made a gif of it http://i.imgur.com/MWIVpIz.gif

RSully commented 9 years ago

I noticed this happening this morning both before and after updating the extension (from a previously working version). Running Safari, HTML5.

Muzuwi commented 9 years ago

Had this too, switching to Auto-hide bar to Both seems to have fixed it. The problem does not persist on full-screen, however.

Blackbird88 commented 9 years ago

Getting this too.

Puk4400 commented 9 years ago

Better, change "auto-hide bar" to "only controlbar" fixes it and it's back to how HTML5 was before. That should explain what caused the issue, the video bar is the culprit. I see youtube made some changes around and most likely those interfered with the extension code.

Puk4400 commented 9 years ago

Thanks Mrucux7 for the suggestion.

not4u2kno commented 9 years ago

Flicker of nausea here too... Seemed to happen to the version before 488 also. Changing "Player > Auto hide bar > Both Progressbar & Controlbar" returned it back to normal functionality.

I suspect YT's changes to be the cause. Ever since I've seen the new 'Autoplay' and countdown crap on video ending it started happening.

Zarggg commented 9 years ago

Confirming workarounds suggested by @Mrucux7, @Puk4400, and @not4u2kno for Firefox 36b10 using HTML5 player. This seems to be caused by a recent YouTube change regarding the control bar that went live today.

I would wager a guess that the "bouncing" itself seems to be the player window not being sure whether to offset the video to account for the control bar being present or not.

BradJJ commented 9 years ago

Boing Boing Boing Boing Boing Boing Boing

thanks for the quick fix dudes.

ghost commented 9 years ago

Happens also here with the dev build. Google Chrome 40.0.2214.115 m (64-bit). Forcing HTML5 player fixed this.

Plokks commented 9 years ago

same Problem here, using Chrome Version 42.0.2311.4 dev-m & Youtube Center dev build 488

Turbonator commented 9 years ago

This bug has been alive earlier also, around a week ago it only affected the channel background which keeps stuttering and bouncing. Now also player bar is affected.

YePpHa commented 9 years ago

It's most likely fixed in the latest developer version. It seems like the class ideal-aspect was added and removed by YouTube constantly, which caused it to switch between two different auto-hide modes. The fix should make sure that the two modes are the same, which will hopefully fix the 'bouncing'.

Turbonator commented 9 years ago

Fixed.

Zarggg commented 9 years ago

Confirmed fixed in Firefox (37b1) and "Auto-hide behavior" set to Default.

Muzuwi commented 9 years ago

Fixed on Canary 43.0.2313.0 and default setting for auto-hide bar.

Puk4400 commented 9 years ago

Chrome Version 40.0.2214.115 m & dev-center v489 issue fixed. Thank you.

Turbonator commented 9 years ago

Only controlbar has bouncing issue still, and when selecting Default it hides both bars.

Djfe commented 9 years ago

@YePpHa this is not completely fixed!!! works for the default case but if you set the setting so that you want to hide "only the controlbar" it will bounce again

the settings "both", "none" and "only progressbar" work just fine though (thx for the partail fix)

Turbonator commented 9 years ago

@Djfe But Default hides both, so Default is not fixed completely either

Puk4400 commented 9 years ago

I'll reopen since users reported new issues.

Puk4400 commented 9 years ago

Confirmed, auto-hide bar set to either progressbar or controlbar is still causing the same issue. Dev-center v489.

Sollace commented 9 years ago

I'm still having problems with this although it only happens when the page loads with the player expanded.

I've found this happens on:

It stops if you switch between the options but will just come back the next time you load the page. Sometimes it only starts after you've interacted with the player (pause and unpause).

YTC version: Dev Build v492 Browser: Mozilla Firefox 35.0.1 Addon type: Userscript

jcink commented 9 years ago

Yeah I am still having problems with this as well and you are correct, it only happens with the expanded player on build 492.

mikalehmann commented 9 years ago

Just wanted to bump this, because it's still not working with Firefox 36.0.1 and the latest developer build (492).

Hubcapp commented 9 years ago

Here it is, still occurs even when using 492.

http://imgur.com/8S3zDrp

I was able to stop it from bouncing by setting "auto-hide bar" under Player>General to "Both progressbar & controlbar" from "Default".

However, I was also able to make it stop bouncing on the "Default" setting by upgrading from Firefox 36 to Firefox 38. In my opinion, this issue should be closed, and the recommendation be made to "upgrade your browser".

mikalehmann commented 9 years ago

I'm using build 495 on Firefox 36 and it seems to be fixed.

jcink commented 9 years ago

Build 495 on firefox 36.0.4 and still not fixed for me. :(

mikalehmann commented 9 years ago

This is interesting. What OS are you using?

Djfe commented 9 years ago

Happened to me just now before the page was fully loaded (hovering the bar resulted in bouncing), I'm using the current dev version and FF 37

after the page was fully loaded the bouncing was gone

my setting is still: only autohide progressbar

ghost commented 9 years ago

Started to happen again on the default settings after the dev build 499. HTLM5 playback works.

StraggleCraft commented 9 years ago

Developer Build 503 has this problem w/ HTML5 playback