From 9959b449d1bfe82743e913aef80eb38302d0b468 Mon Sep 17 00:00:00 2001 From: Oleg Vaskevich Date: Wed, 9 Feb 2022 11:38:27 +0300 Subject: [PATCH] docs: add methods section --- README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/README.md b/README.md index e43d8f6..8ad4e54 100644 --- a/README.md +++ b/README.md @@ -104,5 +104,13 @@ These are the various controls that you can turn on/off as needed. All of these | disableTimer | Hide the timer | | disableBack | Hide the back button | +### Methods + +There are methods you can call on VideoPlayer ref + +| Method | Description | +| ----------------- | ------------------------------- | +| seekTo(time = 0) | Seek to a time in the video | + [1]: https://github.com/itsnubix/react-native-video-controls/workflows/ci/badge.svg [2]: https://github.com/itsnubix/react-native-video-controls/actions