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