1
0
mirror of https://github.com/TeamPiped/Piped.git synced 2024-12-15 06:40:28 +05:30

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> </div>
</template> </template>
<style>
.shaka-text-container > div {
height: auto !important;
width: auto !important;
top: auto !important;
left: auto !important;
}
</style>
<script> <script>
import("shaka-player/dist/controls.css"); import("shaka-player/dist/controls.css");
const shaka = import("shaka-player/dist/shaka-player.ui.js"); const shaka = import("shaka-player/dist/shaka-player.ui.js");