Fix video loading
This commit is contained in:
parent
a39c8c9350
commit
4b11edfbd9
9 changed files with 80 additions and 16 deletions
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue