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
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
## Usage
51
55
### Setup
52
56
The `Cloudinary` class is the main entry point for using the library. Your `cloud_name` is required to create an instance of this class. Your `api_key` and `api_secret` are also needed to perform secure API calls to Cloudinary (e.g., image and video uploads). Setting the configuration parameters can be done either programmatically using an appropriate constructor of the Cloudinary class or globally using an environment variable. You can find your account-specific configuration parameters in the **Dashboard** page of your [account console](https://cloudinary.com/console).
@@ -83,7 +87,7 @@ export default function App() {
83
87
```
84
88
85
89
### Video Player
86
-
The `AdvancedVideo` component provides video playback capabilities with optional analytics tracking. **Note: This requires `expo-av` to be installed.**
90
+
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