Closed paulirish closed 2 years ago
@kevinfarrugia brought this up in #102 and #103 ...
I found that historically the preload was separated from the backgroundImage setting: https://github.com/paulirish/lite-youtube-embed/commit/0478f28838d33be4239b4573e221771f86609280
but then they merged together for good reason: https://github.com/paulirish/lite-youtube-embed/commit/0221be1727c6c338d8ae2e4cac5c8aa106ed5794
so now theres really no reason to not let the css background image kick off its own network request.
@kevinfarrugia brought this up in #102 and #103 ...
I found that historically the preload was separated from the backgroundImage setting: https://github.com/paulirish/lite-youtube-embed/commit/0478f28838d33be4239b4573e221771f86609280
but then they merged together for good reason: https://github.com/paulirish/lite-youtube-embed/commit/0221be1727c6c338d8ae2e4cac5c8aa106ed5794
so now theres really no reason to not let the css background image kick off its own network request.