Use the right name for progress duration
This commit is contained in:
parent
1be0db4777
commit
1ef435a864
@ -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);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user