mirror of
https://github.com/stashapp/stash.git
synced 2026-04-19 13:31:15 +02:00
allow full screen and inline play on iOS (#2450)
This commit is contained in:
parent
f1b244f0a1
commit
41d6ebc11a
1 changed files with 2 additions and 1 deletions
|
|
@ -156,7 +156,7 @@ export const ScenePlayer: React.FC<IScenePlayerProps> = ({
|
|||
enterOnRotate: true,
|
||||
exitOnRotate: true,
|
||||
alwaysInLandscapeMode: true,
|
||||
iOS: true,
|
||||
iOS: false,
|
||||
},
|
||||
});
|
||||
|
||||
|
|
@ -393,6 +393,7 @@ export const ScenePlayer: React.FC<IScenePlayerProps> = ({
|
|||
<div className={cx("VideoPlayer", { portrait: isPortrait })}>
|
||||
<div data-vjs-player className={cx("video-wrapper", className)}>
|
||||
<video
|
||||
playsInline
|
||||
ref={videoRef}
|
||||
id={VIDEO_PLAYER_ID}
|
||||
className="video-js vjs-big-play-centered"
|
||||
|
|
|
|||
Loading…
Reference in a new issue