allow full screen and inline play on iOS (#2450)

This commit is contained in:
cj
2022-03-29 23:21:44 -06:00
committed by GitHub
parent f1b244f0a1
commit 41d6ebc11a

View File

@@ -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"