Closed Lazza closed 1 year ago
Related: could it be a nice idea to set the thumbnail URL as a CSS variable for easier access by users who like adding custom CSS?
A CSS variable might also help in addressing this bug as the variable could be referenced only in the overlay sub-element.
This issue may not be noticed on YouTube embeds because they cover the whole embed area, however they appear clearly with Slideshare (which is being implemented in #153).
The plug-in adds the thumbnail as background, but not only for the overlay. The background stays after the overlay has been deactivated. However, WordPress does not "cover" the whole area for some embeds (e.g. LinkedIn), unless people apply some custom CSS.
Hence a result like this appears:
Originally posted by @Lazza in https://github.com/epiphyt/embed-privacy/issues/153#issuecomment-1374607713