Skip to content

Commit

Permalink
Revert "[Video] Ensure loop doesn't stop" (#5209)
Browse files Browse the repository at this point in the history
  • Loading branch information
haileyok authored Sep 7, 2024
1 parent 10cdc43 commit 51259e7
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/view/com/util/post-embeds/VideoEmbed.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -110,11 +110,7 @@ function InnerWrapper({embed}: Props) {
if (status === 'error') {
setError(playerError ?? new Error('Unknown player error'))
}
if (
status === 'readyToPlay' &&
oldStatus !== 'readyToPlay' &&
oldStatus !== 'waitingToPlayAtSpecifiedRate'
) {
if (status === 'readyToPlay' && oldStatus !== 'readyToPlay') {
player.play()
}
},
Expand Down

0 comments on commit 51259e7

Please sign in to comment.