From 1ef435a864bac010f16b53742d0c033a43871e6b Mon Sep 17 00:00:00 2001 From: Hampton Maxwell Date: Fri, 28 Sep 2018 17:46:57 -0700 Subject: [PATCH] Use the right name for progress duration --- dom/RCTVideo.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dom/RCTVideo.js b/dom/RCTVideo.js index d6842e55..b249721f 100644 --- a/dom/RCTVideo.js +++ b/dom/RCTVideo.js @@ -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); }