mirror of
https://github.com/stashapp/stash.git
synced 2025-12-18 12:54:38 +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,
|
enterOnRotate: true,
|
||||||
exitOnRotate: true,
|
exitOnRotate: true,
|
||||||
alwaysInLandscapeMode: true,
|
alwaysInLandscapeMode: true,
|
||||||
iOS: true,
|
iOS: false,
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|
||||||
@@ -393,6 +393,7 @@ export const ScenePlayer: React.FC<IScenePlayerProps> = ({
|
|||||||
<div className={cx("VideoPlayer", { portrait: isPortrait })}>
|
<div className={cx("VideoPlayer", { portrait: isPortrait })}>
|
||||||
<div data-vjs-player className={cx("video-wrapper", className)}>
|
<div data-vjs-player className={cx("video-wrapper", className)}>
|
||||||
<video
|
<video
|
||||||
|
playsInline
|
||||||
ref={videoRef}
|
ref={videoRef}
|
||||||
id={VIDEO_PLAYER_ID}
|
id={VIDEO_PLAYER_ID}
|
||||||
className="video-js vjs-big-play-centered"
|
className="video-js vjs-big-play-centered"
|
||||||
|
|||||||
Reference in New Issue
Block a user