mirror of
				https://github.com/tooot-app/app
				synced 2025-06-05 22:19:13 +02:00 
			
		
		
		
	Update Video.tsx
This commit is contained in:
		| @@ -39,7 +39,11 @@ const AttachmentVideo: React.FC<Props> = ({ | ||||
|   const playOnPress = async () => { | ||||
|     setVideoLoading(true) | ||||
|     if (!videoLoaded) { | ||||
|       await videoPlayer.current?.loadAsync(connectMedia({ uri: video.url }) as { uri: string }) | ||||
|       await videoPlayer.current?.loadAsync( | ||||
|         connectMedia({ | ||||
|           uri: video.url.includes('/media_proxy/') ? video.remote_url : video.url | ||||
|         }) as any | ||||
|       ) | ||||
|     } | ||||
|     setVideoLoading(false) | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user