chore(doc): update document (props & method) (#4072)
* chore: update method document * chore: update method document * chore: update method document * fix: PR feedback * chore: update description for controls prop
This commit is contained in:
parent
899bb822a5
commit
cd41a1b234
@ -141,9 +141,9 @@ const someCoolFunctions = async () => {
|
|||||||
videoRef.current.presentFullscreenPlayer();
|
videoRef.current.presentFullscreenPlayer();
|
||||||
videoRef.current.dismissFullscreenPlayer();
|
videoRef.current.dismissFullscreenPlayer();
|
||||||
|
|
||||||
// pause or play the video
|
// pause or resume the video
|
||||||
videoRef.current.play();
|
|
||||||
videoRef.current.pause();
|
videoRef.current.pause();
|
||||||
|
videoRef.current.resume();
|
||||||
|
|
||||||
// save video to your Photos with current filter prop
|
// save video to your Photos with current filter prop
|
||||||
const response = await videoRef.current.save();
|
const response = await videoRef.current.save();
|
||||||
|
@ -135,8 +135,7 @@ Determines whether to show player controls.
|
|||||||
- **false (default)** - Don't show player controls
|
- **false (default)** - Don't show player controls
|
||||||
- **true** - Show player controls
|
- **true** - Show player controls
|
||||||
|
|
||||||
Note on iOS, controls are always shown when in fullscreen mode.
|
Controls are always shown in fullscreen mode, even when `controls={false}`.
|
||||||
Note on Android, native controls are available by default.
|
|
||||||
If needed, you can also add your controls or use a package like [react-native-video-controls](https://github.com/itsnubix/react-native-video-controls) or [react-native-media-console](https://github.com/criszz77/react-native-media-console), see [Useful Side Project](/projects).
|
If needed, you can also add your controls or use a package like [react-native-video-controls](https://github.com/itsnubix/react-native-video-controls) or [react-native-media-console](https://github.com/criszz77/react-native-media-console), see [Useful Side Project](/projects).
|
||||||
|
|
||||||
### `controlsStyles`
|
### `controlsStyles`
|
||||||
|
Loading…
Reference in New Issue
Block a user