Limit maximum height of video player (#210)

This commit is contained in:
TheAssassin 2021-06-21 19:20:10 +02:00 committed by GitHub
parent 8f3b5847eb
commit 5cefe51a94

View file

@ -1,7 +1,7 @@
<template>
<div class="uk-container-expand">
<div data-shaka-player-container ref="container">
<video data-shaka-player :autoplay="shouldAutoPlay" style="width: 100%; height: 100%" ref="videoEl"></video>
<video data-shaka-player :autoplay="shouldAutoPlay" style="width: 100%; height: 100%; max-height: 75vh; min-height: 250px;" ref="videoEl"></video>
</div>
</div>
</template>