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:
Seyed Mostafa Hasani
2024-08-12 15:25:10 +03:30
committed by GitHub
parent 899bb822a5
commit cd41a1b234
2 changed files with 3 additions and 4 deletions

View File

@@ -141,9 +141,9 @@ const someCoolFunctions = async () => {
videoRef.current.presentFullscreenPlayer();
videoRef.current.dismissFullscreenPlayer();
// pause or play the video
videoRef.current.play();
// pause or resume the video
videoRef.current.pause();
videoRef.current.resume();
// save video to your Photos with current filter prop
const response = await videoRef.current.save();