Video Player: Hide download button in fullscreen (#2176)
This commit is contained in:
parent
6b3c779974
commit
980e1e062d
@ -245,7 +245,7 @@ const VideoPlayer: FC<OwnProps> = ({
|
|||||||
<video
|
<video
|
||||||
ref={videoRef}
|
ref={videoRef}
|
||||||
autoPlay={IS_TOUCH_ENV}
|
autoPlay={IS_TOUCH_ENV}
|
||||||
controlsList={isProtected ? 'nodownload' : undefined}
|
controlsList="nodownload"
|
||||||
playsInline
|
playsInline
|
||||||
loop={isGif || duration <= MAX_LOOP_DURATION}
|
loop={isGif || duration <= MAX_LOOP_DURATION}
|
||||||
// This is to force autoplaying on mobiles
|
// This is to force autoplaying on mobiles
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user