You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Resolved merge conflicts between master (Expo 53 upgrade) and video layer feature
- Updated dependencies to support Expo 53 while preserving video layer functionality
- Combined README documentation for video layer with expo-av deprecation notes
- Preserved adapter pattern from master in AdvancedVideo.tsx
- Kept demo app structure from feature branch with updated dependencies
- Added support for @expo/vector-icons and expo-font as optional dependencies for video layer
Copy file name to clipboardExpand all lines: README.md
+11-7Lines changed: 11 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -21,9 +21,9 @@ This Readme provides basic installation and usage information.
21
21
Transform and optimize assets. Visit our documentation to learn more about [media optimization](https://cloudinary.com/documentation/media_optimization) and [transformations](https://cloudinary.com/documentation/image_transformations).
22
22
23
23
## Version Support
24
-
| SDK Version | React Native Version |
25
-
|-------------|----------------------|
26
-
| 1.x.x | > 0.6|
24
+
| SDK Version | React Native Version | Expo SDK Version | Video Library |
If you want to use the video player features, you need to install `expo-av`:
40
+
The SDK supports both `expo-av` and `expo-video` libraries. The appropriate library will be automatically detected and used:
41
41
42
+
**For Expo SDK 50-51 (expo-av):**
42
43
```bash
43
44
npm install expo-av
44
45
```
45
-
Or
46
+
47
+
**For Expo SDK 52+ (expo-video - recommended):**
46
48
```bash
47
-
yarn add expo-av
49
+
npm install expo-video
48
50
```
49
51
52
+
**Note:**`expo-av` is deprecated in SDK 52 and removed in SDK 53. For newer Expo versions, use `expo-video`.
53
+
50
54
### For Video Layer with Controls (CLDVideoLayer)
51
55
If you want to use the `CLDVideoLayer` component with UI controls, you need to install additional dependencies:
52
56
@@ -94,7 +98,7 @@ export default function App() {
94
98
```
95
99
96
100
### Video Player
97
-
The `AdvancedVideo` component provides video playback capabilities with optional analytics tracking. **Note: This requires `expo-av` to be installed.**
101
+
The `AdvancedVideo` component provides video playback capabilities with optional analytics tracking. **Note: This requires either `expo-av` (SDK 50-51) or `expo-video` (SDK 52+) to be installed.**
0 commit comments