Skip to content

Commit 83933c8

Browse files
committed
update readme
1 parent a4ea4c7 commit 83933c8

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

README.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -67,24 +67,26 @@ Mutes the native video player.
6767

6868
Sets the native video player to loop once playback has finished.
6969

70+
- **loadingComplete - (function)** - *optional* **ANDROID ONLY**
71+
72+
Attribute to specify an event callback to execute when the video has loaded.
73+
7074

7175
## API
7276

7377
- **play()** - start playing the video
7478
- **pause()** - pause the video
7579
- **seekToTime(time: number)** - seek the video to a time (milliseconds)
76-
- **getDuration()** - returns the duration of the video (milliseconds)
7780
- **getCurrentTime()** - returns the current time in the video duration (milliseconds)
7881
- **destroy()** - destroy the video player and free resources
82+
- **mute(boolean)** - mute the current video
7983

8084
### Android only
8185

86+
- **getDuration()** - returns the duration of the video (milliseconds)
8287
- **stop()** - stop the playback - this resets the player and remove the video src
83-
- **loadingComplete - (function)** - *optional* - Attribute to specify an event callback to execute when the video has loaded.
8488

85-
### iOS only
8689

87-
- **mute(boolean)** - mute the current video
8890

8991

9092
### Contributors

0 commit comments

Comments
 (0)