From 50875566ad73be01c10d715fe8429a31dda37e9b Mon Sep 17 00:00:00 2001 From: zeppi Date: Mon, 19 Jul 2021 12:54:05 -0400 Subject: [PATCH] more --- .../viewers/videoViewer/internal/videojs.jsx | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/ui/component/viewers/videoViewer/internal/videojs.jsx b/ui/component/viewers/videoViewer/internal/videojs.jsx index 57457da37..44a2f8fab 100644 --- a/ui/component/viewers/videoViewer/internal/videojs.jsx +++ b/ui/component/viewers/videoViewer/internal/videojs.jsx @@ -58,14 +58,14 @@ type Props = { allowPreRoll: ?boolean, }; -type VideoJSOptions = { - controls: boolean, - preload: string, - playbackRates: Array, - responsive: boolean, - poster?: string, - muted?: boolean, -}; +// type VideoJSOptions = { +// controls: boolean, +// preload: string, +// playbackRates: Array, +// responsive: boolean, +// poster?: string, +// muted?: boolean, +// }; const videoPlaybackRates = [0.25, 0.5, 0.75, 1, 1.1, 1.25, 1.5, 1.75, 2]; @@ -74,7 +74,7 @@ const IS_IOS = (navigator.platform === 'MacIntel' && navigator.maxTouchPoints > 1)) && !window.MSStream; -const VIDEO_JS_OPTIONS: VideoJSOptions = { +const VIDEO_JS_OPTIONS = { preload: 'auto', playbackRates: videoPlaybackRates, responsive: true,