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

Video doesn't start. #2481

Closed MarlonAndradee closed 6 years ago

MarlonAndradee commented 6 years ago

As you can see in the image, the video doesn't start, there's only a black window appearing where the video should be.

I'm using: Firefox Quantum 60.0b11 (64-bit) and Youtube Center Developer version with greasemonkey.

screenshot-2018-4-11 speak english fluently pronunciation the word them pronunciation guide

pingufetch5 commented 6 years ago

Getting the same thing here. Windows 7 Firefox Userscript.

Orbilo commented 6 years ago

same problem here. Using google chrome + Tampermonkey

Coffeeist commented 6 years ago

Yep, same issue here, using Vivaldi (Chrome version of the addon)

NiGHTsC commented 6 years ago

This just happent on me as well, Win7 64bit+FF55.0.3+YTCenter v548

Seriously hoping this is Youtube itself's issue and will be fixed ASAP, cause I don't think we are going to get any fix from YeP...

Fallen10111 commented 6 years ago

I had this. It worked an hour ago when I got in from work. Went to watch a video now, not working. I disabled Youtube Center, worked fine. I think it's an update they've done youtubes end maybe.

flakzilla commented 6 years ago

Same issue, FF56 on linux w/ greasemonkey. Everything works normally if I turn off greasemonkey so it's definitely a problem with YTC. Apparently youtube won't let you restore the old layout either... this might be the end, lads. Save us @YePpHa!

9aaron commented 6 years ago

Same. Resetting YTC settings doesn't work either. Windows 10 64 bit, Chrome Version 66.0.3359.81 (Official Build) beta (64-bit), YTC 548.

LamerGamer commented 6 years ago

Had the same issue. Didn't work when installed through Chrome, but Tampermonkey worked, strangely.

GuyB01 commented 6 years ago

Same as @LamerGamer - The Chrome extension's stopped working but the Violentmonkey script works.

NiGHTsC commented 6 years ago

Grease and Tamper both won't work on FF

valarnin commented 6 years ago

Quick fix is to change the way window.matchMedia is getting overridden. I'm running one of the dev builds for Chrome, here's what I did: There are two spots in YouTubeCenter.js where window.matchMedia gets set to null. This needs to be changed to instead set to a function that returns false. For me, I changed line 11061 from:

          window.matchMedia = null;

to:

          window.matchMedia = function(){return false;};

And line 26853 from:

      injectScript(function(){ window.matchMedia = null; }, "matchMediaOverride.js");

to:

      injectScript(function(){ window.matchMedia = function(){return false;}; }, "matchMediaOverride.js");
texaskelly commented 6 years ago

Can confirm that valarnin's edit works.

Hopefully we get an official update to the script real soon, although given that there's seemingly been no development for months on this, I'm guessing we shouldn't hold our breaths.

NiGHTsC commented 6 years ago

@valarnin: Thank you Thank you!

YeP is working on new YT script, gonna take a while but he's on the new project.

valarnin commented 6 years ago

If I wasn't extremely sick and had the energy to do more than just watch YT, I'd format a proper PR or upload fixed builds or something. But I'll leave that to someone that's not currently hacking up their lungs. For those who can manage to apply the fix themselves, enjoy.

bhrgunatha commented 6 years ago

@valarnin Get well soon and a big thank you - youtube is so unpleasant without YTC!

MarlonAndradee commented 6 years ago

Thank you so much, it worked!

dertrance commented 6 years ago

@valarnin Thank you so much for the edit, it worked flawlessly! Get well soon!

ccrowles commented 6 years ago

@valarnin The edit works on firefox too! Thank you so much!

xadious commented 6 years ago

Thanks @valarnin, fix worked for me too on Chrome.

adnieman commented 6 years ago

Can confirm valarnin's fix works in FF59 with ViolentMonkey.

ericboehs commented 6 years ago

Cloning the repo to make the change. Jesus! This thing is 1.5GBs! lol. No wonder no one's made a pull request yet.

Anyways, here's the pull request: https://github.com/YePpHa/YouTubeCenter/pull/2482

ghost commented 6 years ago

Thanks for the fix from here as well.

YePpHa commented 6 years ago

@ericboehs the reason for this is because I was stupid and didn't add the dist folder to the .gitignore file.