Fix quality selector
This commit is contained in:
parent
b2763e4bf0
commit
ac0ec4794a
1 changed files with 1 additions and 3 deletions
|
@ -180,9 +180,7 @@ export default React.memo<Props>(function VideoJs(props: Props) {
|
||||||
|
|
||||||
const { url: livestreamVideoUrl } = activeLivestreamForChannel || {};
|
const { url: livestreamVideoUrl } = activeLivestreamForChannel || {};
|
||||||
const overrideNativeVhs = !platform.isIPhone();
|
const overrideNativeVhs = !platform.isIPhone();
|
||||||
const showQualitySelector =
|
const showQualitySelector = (!isLivestreamClaim && overrideNativeVhs) || livestreamVideoUrl;
|
||||||
(!isLivestreamClaim && overrideNativeVhs) ||
|
|
||||||
(livestreamVideoUrl && (livestreamVideoUrl.includes('/transcode/') || livestreamVideoUrl.includes('cloud.odysee')));
|
|
||||||
|
|
||||||
// initiate keyboard shortcuts
|
// initiate keyboard shortcuts
|
||||||
const { curried_function } = keyboardShorcuts({
|
const { curried_function } = keyboardShorcuts({
|
||||||
|
|
Loading…
Reference in a new issue