Pinafore-Web-Client-Frontend/routes/_components/AutoplayVideo.html

21 lines
367 B
HTML
Raw Normal View History

2018-03-31 19:45:11 +02:00
<video
class="autoplay-video {{className || ''}}"
aria-label={{ariaLabel || ''}}
style="background-image: url({{poster}});"
2018-03-31 19:45:11 +02:00
:poster
:width
:height
:src
autoplay
muted
loop
webkit-playsinline
playsinline
/>
<style>
.autoplay-video {
background-repeat: no-repeat;
background-position: center;
background-size: contain;
}
</style>