about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorHailey <me@haileyok.com>2024-09-07 12:11:18 -0700
committerGitHub <noreply@github.com>2024-09-07 12:11:18 -0700
commit51259e7c4264497938be96211611dcc225a1673b (patch)
tree6de50442adac91debfba0fd89dcbef44488dd43a /src
parent10cdc436b818e92fb5744026c39e1e281f113d6b (diff)
downloadvoidsky-51259e7c4264497938be96211611dcc225a1673b.tar.zst
Revert "[Video] Ensure loop doesn't stop" (#5209)
Diffstat (limited to 'src')
-rw-r--r--src/view/com/util/post-embeds/VideoEmbed.tsx6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/view/com/util/post-embeds/VideoEmbed.tsx b/src/view/com/util/post-embeds/VideoEmbed.tsx
index c11da7079..9c3a34dda 100644
--- a/src/view/com/util/post-embeds/VideoEmbed.tsx
+++ b/src/view/com/util/post-embeds/VideoEmbed.tsx
@@ -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()
           }
         },