Use the right name for progress duration
This commit is contained in:
@@ -218,7 +218,7 @@ class RCTVideo extends RCTView {
|
||||
onProgress = () => {
|
||||
const payload = {
|
||||
currentTime: this.videoElement.currentTime,
|
||||
duration: this.videoElement.duration
|
||||
seekableDuration: this.videoElement.duration
|
||||
};
|
||||
this.sendEvent("topVideoProgress", payload);
|
||||
}
|
||||
|
Reference in New Issue
Block a user