Skip to content

Commit

Permalink
fix(android): poster hidding (#3768)
Browse files Browse the repository at this point in the history
* fix(android): fix poster management
  • Loading branch information
freeboub authored May 14, 2024
1 parent aa854fb commit 98b4a75
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/Video.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -572,7 +572,9 @@ const Video = forwardRef<VideoRef, ReactVideoProps>(
onAudioFocusChanged={
onAudioFocusChanged ? _onAudioFocusChanged : undefined
}
onReadyForDisplay={onReadyForDisplay ? _onReadyForDisplay : undefined}
onReadyForDisplay={
onReadyForDisplay || hasPoster ? _onReadyForDisplay : undefined
}
onPlaybackRateChange={
onPlaybackRateChange ? _onPlaybackRateChange : undefined
}
Expand Down

0 comments on commit 98b4a75

Please sign in to comment.