From 63625b3ce35ded91dfeb9cc32b87f18c1c553567 Mon Sep 17 00:00:00 2001 From: Yavor Ivanov Date: Mon, 13 Feb 2023 16:07:09 +0200 Subject: [PATCH] Adding documentation --- API.md | 11 +++++++++++ CHANGELOG.md | 3 +++ 2 files changed, 14 insertions(+) diff --git a/API.md b/API.md index a769aeba..1a012085 100644 --- a/API.md +++ b/API.md @@ -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 diff --git a/CHANGELOG.md b/CHANGELOG.md index 71b54f1c..f46f893e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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)