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