Make sure native controls appear on touch devices

Closes #4150
This commit is contained in:
Jeffrey Fisher 2020-05-20 23:43:46 -07:00 committed by Sean Yesmunt
parent 22da6fee69
commit 88f4329d34

View file

@ -88,6 +88,7 @@ export default React.memo<Props>(function VideoJs(props: Props) {
autoplay: false,
poster: poster, // thumb looks bad in app, and if autoplay, flashing poster is annoying
plugins: { eventTracking: true },
html5: { nativeControlsForTouch: true },
};
videoJsOptions.muted = startMuted;