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,
|
timeDivider: !isLivestreamClaim,
|
||||||
durationDisplay: !isLivestreamClaim,
|
durationDisplay: !isLivestreamClaim,
|
||||||
remainingTimeDisplay: !isLivestreamClaim,
|
remainingTimeDisplay: !isLivestreamClaim,
|
||||||
|
subsCapsButton: !IS_IOS,
|
||||||
},
|
},
|
||||||
techOrder: ['chromecast', 'html5'],
|
techOrder: ['chromecast', 'html5'],
|
||||||
chromecast: {
|
chromecast: {
|
||||||
|
|
|
@ -357,18 +357,21 @@ button.vjs-big-play-button {
|
||||||
.vjs-chapters-button {
|
.vjs-chapters-button {
|
||||||
order: 10 !important;
|
order: 10 !important;
|
||||||
}
|
}
|
||||||
|
.vjs-subs-caps-button {
|
||||||
|
order: 11 !important;
|
||||||
|
}
|
||||||
.vjs-button--autoplay-next {
|
.vjs-button--autoplay-next {
|
||||||
order: 10 !important;
|
order: 12 !important;
|
||||||
}
|
}
|
||||||
.vjs-playback-rate {
|
.vjs-playback-rate {
|
||||||
order: 11 !important;
|
order: 13 !important;
|
||||||
}
|
}
|
||||||
.vjs-chromecast-button,
|
.vjs-chromecast-button,
|
||||||
.vjs-airplay-button {
|
.vjs-airplay-button {
|
||||||
order: 12 !important;
|
order: 13 !important;
|
||||||
}
|
}
|
||||||
.vjs-quality-selector {
|
.vjs-quality-selector {
|
||||||
order: 13 !important;
|
order: 14 !important;
|
||||||
display: flex;
|
display: flex;
|
||||||
|
|
||||||
.vjs-icon-placeholder {
|
.vjs-icon-placeholder {
|
||||||
|
@ -377,10 +380,10 @@ button.vjs-big-play-button {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.vjs-button--theater-mode {
|
.vjs-button--theater-mode {
|
||||||
order: 14 !important;
|
order: 15 !important;
|
||||||
}
|
}
|
||||||
.vjs-fullscreen-control {
|
.vjs-fullscreen-control {
|
||||||
order: 15 !important;
|
order: 16 !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
// livestream player
|
// livestream player
|
||||||
|
|
Loading…
Reference in a new issue