Fix video loading

This commit is contained in:
schmelczerandras 2020-12-04 22:38:57 +01:00
parent a39c8c9350
commit 4b11edfbd9
9 changed files with 80 additions and 16 deletions

View file

@ -5,7 +5,7 @@ import { html } from '../../../types/html';
export const generate = ({ alt }: { alt: string }): html => `
<div class="preview">
<img image-viewer-ignore class="poster" />
<img image-viewer-ignore class="poster"/>
<div class="overlay">
<div class="loading">${loading}</div>
<iframe title="${alt}" allowfullscreen loading="lazy"></iframe>