Use the right name for progress duration

This commit is contained in:
Hampton Maxwell 2018-09-28 17:46:57 -07:00
parent 1be0db4777
commit 1ef435a864

View File

@ -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);
}