diff --git a/.vscode/settings.json b/.vscode/settings.json
new file mode 100644
index 0000000..d4602f4
--- /dev/null
+++ b/.vscode/settings.json
@@ -0,0 +1 @@
+{"tailwindCSS.classAttributes": ["className", "tw", "addtlClasses"]}
diff --git a/ios/Podfile.lock b/ios/Podfile.lock
index e311660..04efaf5 100644
--- a/ios/Podfile.lock
+++ b/ios/Podfile.lock
@@ -79,9 +79,6 @@ PODS:
- MMKVCore (~> 1.3.1)
- MMKVCore (1.3.1)
- OpenSSL-Universal (1.1.1100)
- - PromisesObjC (2.3.1)
- - PromisesSwift (2.3.1):
- - PromisesObjC (= 2.3.1)
- RCT-Folly (2021.07.22.00):
- boost
- DoubleConversion
@@ -387,11 +384,10 @@ PODS:
- React-Core
- react-native-safe-area-context (4.7.1):
- React-Core
- - react-native-video (6.0.0-alpha.8):
+ - react-native-video (5.2.1):
- React-Core
- - react-native-video/Video (= 6.0.0-alpha.8)
- - react-native-video/Video (6.0.0-alpha.8):
- - PromisesSwift
+ - react-native-video/Video (= 5.2.1)
+ - react-native-video/Video (5.2.1):
- React-Core
- react-native-webrtc (111.0.3):
- JitsiWebRTC (~> 111.0.0)
@@ -637,8 +633,6 @@ SPEC REPOS:
- MMKV
- MMKVCore
- OpenSSL-Universal
- - PromisesObjC
- - PromisesSwift
- SocketRocket
- YogaKit
@@ -761,8 +755,6 @@ SPEC CHECKSUMS:
MMKV: 5a07930c70c70b86cd87761a42c8f3836fb681d7
MMKVCore: e50135dbd33235b6ab390635991bab437ab873c0
OpenSSL-Universal: ebc357f1e6bc71fa463ccb2fe676756aff50e88c
- PromisesObjC: c50d2056b5253dadbd6c2bea79b0674bd5a52fa4
- PromisesSwift: 28dca69a9c40779916ac2d6985a0192a5cb4a265
RCT-Folly: 424b8c9a7a0b9ab2886ffe9c3b041ef628fd4fb1
RCTRequired: c0569ecc035894e4a68baecb30fe6a7ea6e399f9
RCTTypeSafety: e90354072c21236e0bcf1699011e39acd25fea2f
@@ -780,7 +772,7 @@ SPEC CHECKSUMS:
React-logger: da1ebe05ae06eb6db4b162202faeafac4b435e77
react-native-mmkv: 9ae7ca3977e8ef48dbf7f066974eb844c20b5fd7
react-native-safe-area-context: 9697629f7b2cda43cf52169bb7e0767d330648c2
- react-native-video: 86950ad481cec184d7c9420ec3bca0c27904bbcd
+ react-native-video: c26780b224543c62d5e1b2a7244a5cd1b50e8253
react-native-webrtc: 4d1669c2ed29767fe70b0169428b4466589ecf8b
React-NativeModulesApple: edb5ace14f73f4969df6e7b1f3e41bef0012740f
React-perflogger: 496a1a3dc6737f964107cb3ddae7f9e265ddda58
diff --git a/package.json b/package.json
index 5e8f5b1..ff2e077 100644
--- a/package.json
+++ b/package.json
@@ -29,7 +29,7 @@
"react-native-safe-area-context": "^4.7.1",
"react-native-screens": "^3.24.0",
"react-native-svg": "^13.13.0",
- "react-native-video": "alpha",
+ "react-native-video": "latest",
"react-native-webrtc": "^111.0.3",
"react-query": "^3.39.3",
"superjson": "^1.13.1",
diff --git a/src/assets/icons/downSquare.svg b/src/assets/icons/downSquare.svg
new file mode 100644
index 0000000..1d3b177
--- /dev/null
+++ b/src/assets/icons/downSquare.svg
@@ -0,0 +1,4 @@
+
diff --git a/src/components/VideoPlayer.tsx b/src/components/VideoPlayer.tsx
index 2a5bc5b..d64d7f9 100644
--- a/src/components/VideoPlayer.tsx
+++ b/src/components/VideoPlayer.tsx
@@ -1,18 +1,25 @@
+import React from 'react';
+
import Video from 'react-native-video';
export const VideoPlayer = ({
videoURI,
isPaused = true,
+ snapshotURL,
}: {
videoURI: string;
isPaused?: boolean;
+ snapshotURL?: string;
}) => {
+ React.useEffect(() => {}, []);
return (