From 0ebe199c236d7defd06631c4ed28582f7b0bd01c Mon Sep 17 00:00:00 2001 From: aeroreyna Date: Tue, 8 Mar 2022 21:54:40 -0800 Subject: [PATCH] Slightly better video player --- components/VimeoPlayer.js | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/components/VimeoPlayer.js b/components/VimeoPlayer.js index 193798d..3db2937 100644 --- a/components/VimeoPlayer.js +++ b/components/VimeoPlayer.js @@ -9,16 +9,10 @@ const VimeoPlayer = ({ videoId, onError }) => { onError={onError} allowsFullscreenVideo scrollEnabled={false} - automaticallyAdjustContentInsets + height={200} source={{ - html: ` - - - - - - - `, + uri: `https://player.vimeo.com/video/${videoId}?h=489fff465c`, + headers: {"Referer":"https://social.emmint.com"} }} /> );