From 353cd8fe433ce1d63e0b56ca40dc32aa6001183a Mon Sep 17 00:00:00 2001 From: olivier Date: Wed, 18 Oct 2023 22:17:22 +0200 Subject: [PATCH] chore: fix typo --- examples/basic/src/VideoPlayer.tsx | 2 +- src/types/events.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/basic/src/VideoPlayer.tsx b/examples/basic/src/VideoPlayer.tsx index 80ac636c30..42d0b4d7f4 100644 --- a/examples/basic/src/VideoPlayer.tsx +++ b/examples/basic/src/VideoPlayer.tsx @@ -685,7 +685,7 @@ class VideoPlayer extends Component { onAudioBecomingNoisy={this.onAudioBecomingNoisy} onAudioFocusChanged={this.onAudioFocusChanged} onLoadStart={this.onVideoLoadStart} - OnVideoAspectRatio={this.onAspectRatio} + onVideoAspectRatio={this.onAspectRatio} onReadyForDisplay={this.onReadyForDisplay} onBuffer={this.onVideoBuffer} repeat={this.state.loop} diff --git a/src/types/events.ts b/src/types/events.ts index 2bab13dd6e..4ad070e2c1 100644 --- a/src/types/events.ts +++ b/src/types/events.ts @@ -160,5 +160,5 @@ export interface ReactVideoEvents { onAudioTracks?: (e: OnAudioTracksData) => void; // Android onTextTracks?: (e: OnTextTracksData) => void; //Android onVideoTracks?: (e: OnVideoTracksData) => void; //Android - OnVideoAspectRatio?: (e: OnVideoAspectRatioData) => void + onVideoAspectRatio?: (e: OnVideoAspectRatioData) => void }