mirror of
https://github.com/nolanlawson/pinafore
synced 2024-12-08 16:25:25 +01:00
42be854521
* upgrade to svelte 2.0 * update svelte-loader to 2.9.0
21 lines
365 B
HTML
21 lines
365 B
HTML
<video
|
|
class="autoplay-video {className || ''}"
|
|
aria-label={ariaLabel || ''}
|
|
style="background-image: url({poster});"
|
|
{poster}
|
|
{width}
|
|
{height}
|
|
{src}
|
|
autoplay
|
|
muted
|
|
loop
|
|
webkit-playsinline
|
|
playsinline
|
|
/>
|
|
<style>
|
|
.autoplay-video {
|
|
background-repeat: no-repeat;
|
|
background-position: center;
|
|
background-size: contain;
|
|
}
|
|
</style> |