mediamelon-reactnative-video 2.0.0 → 2.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -4
- package/package.json +1 -1
package/README.md
CHANGED
@@ -15,18 +15,18 @@ Install the SDK from our repository:
|
|
15
15
|
|
16
16
|
for react native video (5.0.2)
|
17
17
|
```sh
|
18
|
-
npm i mediamelon-
|
18
|
+
npm i mediamelon-reactnative-video@1.0.0
|
19
19
|
```
|
20
20
|
for react native video (6.4.2)
|
21
21
|
```sh
|
22
|
-
npm i mediamelon-
|
22
|
+
npm i mediamelon-reactnative-video@2.0.0
|
23
23
|
```
|
24
24
|
|
25
25
|
Usage
|
26
26
|
The MediaMelon SDK wraps your Video component in a higher-order component to provide additional monitoring and analytics capabilities.
|
27
27
|
|
28
28
|
```javascript
|
29
|
-
import mmReactNativeVideo from 'mediamelon-
|
29
|
+
import mmReactNativeVideo from 'mediamelon-reactnative-video'; // Import the SDK
|
30
30
|
|
31
31
|
// Wrap the `Video` component with MediaMelon functionality
|
32
32
|
const MMPlayer = mmReactNativeVideo(Video);
|
@@ -76,6 +76,6 @@ const MMPlayer = mmReactNativeVideo(Video);
|
|
76
76
|
```
|
77
77
|
## Known Issues
|
78
78
|
### Android:
|
79
|
-
onPause, onPlay, onSeek, and onBuffer events
|
79
|
+
onPause, onPlay, onSeek, and onBuffer events are not working in react native video 5.2.0.
|
80
80
|
### iOS:
|
81
81
|
onSeek event does not work.
|