<!-- Video template --> <style type='text/css'> {{divId}} .container { background-color: #fff; overflow:hidden; {{#equals border 'ja'}} margin: 33px; width: calc(100% - 66px); height: calc(100% - 66px); {{/equals}} {{#equals border 'nein'}} height: 100%; width: 100%; {{/equals}} } {{divId}} #videoPlayer { height: 100%; width: 100%; object-fit: cover; z-index: -100; right: 0; bottom: 0; overflow: hidden; } </style> <div class='container'> <video id='videoPlayer' crossOrigin='anonymous'> <source src='{{{video}}}' type='video/mp4'> </video> </div>