Fix captions occupying full screen on some videos.

Closes #228
This commit is contained in:
FireMasterK 2021-07-30 15:04:23 +05:30
parent 96950e61e7
commit 7310946cb0
No known key found for this signature in database
GPG Key ID: 49451E4482CC5BCD

View File

@ -16,6 +16,15 @@
</div>
</template>
<style>
.shaka-text-container > div {
height: auto !important;
width: auto !important;
top: auto !important;
left: auto !important;
}
</style>
<script>
import("shaka-player/dist/controls.css");
const shaka = import("shaka-player/dist/shaka-player.ui.js");