From 98b4a75a90c6bc97cde267ea1c6a4a68d0bfdf45 Mon Sep 17 00:00:00 2001 From: Olivier Bouillet <62574056+freeboub@users.noreply.github.com> Date: Tue, 14 May 2024 13:04:44 +0200 Subject: [PATCH] fix(android): poster hidding (#3768) * fix(android): fix poster management --- src/Video.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/Video.tsx b/src/Video.tsx index 7cdbc211..e871964e 100644 --- a/src/Video.tsx +++ b/src/Video.tsx @@ -572,7 +572,9 @@ const Video = forwardRef( onAudioFocusChanged={ onAudioFocusChanged ? _onAudioFocusChanged : undefined } - onReadyForDisplay={onReadyForDisplay ? _onReadyForDisplay : undefined} + onReadyForDisplay={ + onReadyForDisplay || hasPoster ? _onReadyForDisplay : undefined + } onPlaybackRateChange={ onPlaybackRateChange ? _onPlaybackRateChange : undefined }