mirror of
https://github.com/stashapp/stash.git
synced 2025-12-18 04:44:37 +03:00
allow full screen and inline play on iOS (#2450)
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user