dont show subs for ios and correct position for actual subs
This commit is contained in:
parent
0bcea943d5
commit
9b2cc7eb79
2 changed files with 10 additions and 6 deletions
|
@ -240,6 +240,7 @@ export default React.memo<Props>(function VideoJs(props: Props) {
|
|||
timeDivider: !isLivestreamClaim,
|
||||
durationDisplay: !isLivestreamClaim,
|
||||
remainingTimeDisplay: !isLivestreamClaim,
|
||||
subsCapsButton: !IS_IOS,
|
||||
},
|
||||
techOrder: ['chromecast', 'html5'],
|
||||
chromecast: {
|
||||
|
|
|
@ -357,18 +357,21 @@ button.vjs-big-play-button {
|
|||
.vjs-chapters-button {
|
||||
order: 10 !important;
|
||||
}
|
||||
.vjs-subs-caps-button {
|
||||
order: 11 !important;
|
||||
}
|
||||
.vjs-button--autoplay-next {
|
||||
order: 10 !important;
|
||||
order: 12 !important;
|
||||
}
|
||||
.vjs-playback-rate {
|
||||
order: 11 !important;
|
||||
order: 13 !important;
|
||||
}
|
||||
.vjs-chromecast-button,
|
||||
.vjs-airplay-button {
|
||||
order: 12 !important;
|
||||
order: 13 !important;
|
||||
}
|
||||
.vjs-quality-selector {
|
||||
order: 13 !important;
|
||||
order: 14 !important;
|
||||
display: flex;
|
||||
|
||||
.vjs-icon-placeholder {
|
||||
|
@ -377,10 +380,10 @@ button.vjs-big-play-button {
|
|||
}
|
||||
}
|
||||
.vjs-button--theater-mode {
|
||||
order: 14 !important;
|
||||
order: 15 !important;
|
||||
}
|
||||
.vjs-fullscreen-control {
|
||||
order: 15 !important;
|
||||
order: 16 !important;
|
||||
}
|
||||
|
||||
// livestream player
|
||||
|
|
Loading…
Reference in a new issue