Fix missing "currrent/remaining time" control is mobile

## Root-cause
`https://github.com/videojs/video.js/pull/7098`

videojs was recently upgraded.

## Change
Override videojs default theme of hiding the time control in smaller layouts.
This commit is contained in:
infinite-persistence 2021-07-12 22:45:21 +08:00 committed by infinite-persistence
parent f7cf21b661
commit 0de6be77de

View file

@ -497,7 +497,7 @@ video::-internal-media-controls-overlay-cast-button {
// --- Unhide desired components per layout ---
&.vjs-layout-x-small {
.vjs-playback-rate {
display: inherit;
display: flex !important;
}
}
@ -506,7 +506,7 @@ video::-internal-media-controls-overlay-cast-button {
.vjs-time-divider,
.vjs-duration,
.vjs-playback-rate {
display: inherit;
display: flex !important;
}
}