hoyois / clicktoplugin

Prevents plug-ins from loading automatically in Safari
http://hoyois.github.com/safariextensions/clicktoplugin/
229 stars 43 forks source link

Safari 9 October 1st Update Broke Compatibility #141

Closed asoksevil closed 9 years ago

asoksevil commented 9 years ago

It seems that Apple´s latest update on Mavericks, Yosemite and El Capitan has break compatibility with Click To Flash/Plugin.

hoyois commented 9 years ago

@asoksevil I will update the extension shortly, but in the meantime https://raw.githubusercontent.com/hoyois/plugin-to-html5/master/YouTube.js should work.

Considering that Safari 9 for Mavericks is just a plain "security upgrade" it should´t have change anything at all...

YouTube's server reacts differently to the Safari version number, it doesn't have anything to do with the actual update.

asoksevil commented 9 years ago

@hoyois

I realized some videos don't seem to work and show the following error:

captura de pantalla 2015-10-12 a la s 23 28 00

https://www.youtube.com/watch?v=HzVkA25Qfck

hoyois commented 9 years ago

@asoksevil That's a connection issue. YouTube's scripts request the Flash player via XHR, and the request is not always successful. Not sure who's to blame for that, but I can't help it. Reloading the page usually fixes it.

hoyois commented 9 years ago

Fixed in CTP 3.1.7.

asoksevil commented 9 years ago

@hoyois

Thanks for the update but the below issue has not been fixed yet unfortunately.

If you are watching a video and your Mac goes to sleep/close the lid, upon waking up you won´t be able to keep watching that video until you either restart Safari or reload YouTube.com as it CTP won´t work.

hoyois commented 9 years ago

YouTube's URLs only work for a short amount of time.

asoksevil commented 9 years ago

@hoyois

"That last part is normal, YouTube takes some nonzero amount of time to replace its HTML5 player with Flash."

I just realized that if your user agent is Firefox (Mac) it doesn´t happen but if it´s Chrome it does flicker the non supported browser.