Closed mmnlfrrr closed 2 years ago
Seems to be broken (gray too dark or black) on iOS Safari, but works fine on Safari MacOS. My best guess is that iOS Safari doesn’t apply the contrast filter correctly.
Thanks very much for playing around with this. I tried out your changes, and I now recall why I didnt set opacity on the whole element. While it's fine on the demo 2018sundar image, other poster images will bleed through the now 0.8 opacity play triangle:
appreciate you playing with this tho.
clearly this would be easier if we just committed to inline SVG, but I didn't want to for reasons of simplicity and maintainability.
Design Comparaisons:
lite-youtube-embed : current![lite-youtube-embed-(current)](https://user-images.githubusercontent.com/7068650/140392516-de99c62d-e1de-4200-a044-c5407dc33a9b.png)
lite-youtube-embed : after these changes![lite-youtube-embed-(after)](https://user-images.githubusercontent.com/7068650/140392508-000a11ee-e430-48d0-bfb9-883ff88d97cd.png)
Youtube official embed![normal-youtube-embed](https://user-images.githubusercontent.com/7068650/140392491-5f9b81fe-df25-4db7-a474-4ccbbff20b2f.png)
New Play Button styles :
Not Hover : #212121 & opacity:0.8 Hover : #f00 & opacity:1