hoyois / clicktoplugin

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

Safari 9 styles #145

Closed roblan closed 8 years ago

roblan commented 8 years ago

Styles mimicking new QuickTime plugin look

hoyois commented 8 years ago

Thanks! Any idea why the corners in the source selector are not properly rounded?

roblan commented 8 years ago

Looks like -webkit-backdrop-filter doesn't respect border-radius. I haven't found a fix for that.

CTPlogoContainer doesn't look like it should either (I thought that changing placeholder.innerHTML in main.js:249 should add it there...)

hoyois commented 8 years ago

OK, thanks. I will try to investigate this a bit more: the floating controls on fullscreen videos have properly rounded corners. Let me know if you have any ideas.

hoyois commented 8 years ago

Ah, looks like they use a clip-path property to cut the corners out.

roblan commented 8 years ago

Can't wait for release :)