From cb50b8a9bc173bad3199229f650f0900cb6bc351 Mon Sep 17 00:00:00 2001 From: Sean Yesmunt Date: Mon, 2 Nov 2020 17:14:40 -0500 Subject: [PATCH] Revert "Improve IOS inline experience" This reverts commit 9b38ba6c02d6434e7464eafc6b3d7110bdea2403. --- ui/component/viewers/videoViewer/internal/videojs.jsx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/ui/component/viewers/videoViewer/internal/videojs.jsx b/ui/component/viewers/videoViewer/internal/videojs.jsx index 2d4d073f3..635299777 100644 --- a/ui/component/viewers/videoViewer/internal/videojs.jsx +++ b/ui/component/viewers/videoViewer/internal/videojs.jsx @@ -58,6 +58,7 @@ const VIDEO_JS_OPTIONS: VideoJSOptions = { playbackRates: [0.25, 0.5, 0.75, 1, 1.1, 1.25, 1.5, 1.75, 2], responsive: true, controls: true, + html5: { nativeControlsForTouch: IS_IOS }, }; const F11_KEYCODE = 122; @@ -99,8 +100,6 @@ export default React.memo(function VideoJs(props: Props) { autoplay: false, poster: poster, // thumb looks bad in app, and if autoplay, flashing poster is annoying plugins: { eventTracking: true }, - 'webkit-playsinline': IS_IOS, - playsinline: IS_IOS, }; // if (adsTest) { @@ -283,7 +282,7 @@ export default React.memo(function VideoJs(props: Props) { return ( reload && ( // $FlowFixMe -
+