Adding documentation

This commit is contained in:
Yavor Ivanov 2023-02-13 16:07:09 +02:00
parent 3266eb2d67
commit 63625b3ce3
2 changed files with 14 additions and 0 deletions

11
API.md
View File

@ -916,6 +916,17 @@ The following other types are supported on some platforms, but aren't fully docu
`content://, ms-appx://, ms-appdata://, assets-library://`
##### Playing only a portion of the video (start & end time)
Provide an optional `startTime` and/or `endTime` for the video. Value is in milliseconds. Useful when you want to play only a portion of a large video.
Example
```
source={{ startTime: 36012, endTime: 48500 }}
```
Platforms: iOS, Android
#### subtitleStyle
Property | Description | Platforms

View File

@ -1,5 +1,8 @@
## Changelog
### Version 6.0.0-alpha.6
- Feature: Video range support [#3030](https://github.com/react-native-video/react-native-video/pull/3030)
### Version 6.0.0-alpha.5
- iOS: ensure controls are not displayed when disabled by user [#3017](https://github.com/react-native-video/react-native-video/pull/3017)