Poster image still gets lazy-loaded when setting posterloading to eager
jlmmns opened this issue · comments
<lite-youtube videoid="{{ video }}" posterloading="eager"></lite-youtube>
Results in:
<img id="fallbackPlaceholder" referrerpolicy="origin" loading="lazy" src="..." aria-label="..." alt="...">
I'm using v1.4.0
There seems to be a hard-coded (I guess this is just the default setup):loading="lazy"
when the shadow dom gets set up
/blob/main/lite-youtube.ts#L210
Maybe the "fallback" reference isn't working here:
/blob/main/lite-youtube.ts#L323