Limit maximum height of video player

This commit is contained in:
TheAssassin 2021-06-21 17:45:52 +02:00
parent ea73818f56
commit 5f50657bd3

View file

@ -1,7 +1,7 @@
<template> <template>
<div class="uk-container-expand"> <div class="uk-container-expand">
<div data-shaka-player-container ref="container"> <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>
</div> </div>
</template> </template>