diff options
author | Hailey <me@haileyok.com> | 2024-09-06 15:01:05 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-06 15:01:05 -0700 |
commit | 7e4f8cabd3971bdf19647d122e3267ab6d1991e8 (patch) | |
tree | 412ab40714dde2e8d5b53a9fe931648053bb81fe /src/view/com/util/post-embeds/VideoEmbed.tsx | |
parent | 00ce95893d9f661a378db002f25def281e433d8b (diff) | |
download | voidsky-7e4f8cabd3971bdf19647d122e3267ab6d1991e8.tar.zst |
[Video] Handle push/pop on Android for autoplay (#5194)
Diffstat (limited to 'src/view/com/util/post-embeds/VideoEmbed.tsx')
-rw-r--r-- | src/view/com/util/post-embeds/VideoEmbed.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/view/com/util/post-embeds/VideoEmbed.tsx b/src/view/com/util/post-embeds/VideoEmbed.tsx index e5457555b..9c3a34dda 100644 --- a/src/view/com/util/post-embeds/VideoEmbed.tsx +++ b/src/view/com/util/post-embeds/VideoEmbed.tsx @@ -71,7 +71,7 @@ function InnerWrapper({embed}: Props) { const [playerStatus, setPlayerStatus] = useState< VideoPlayerStatus | 'paused' - >(player.playing ? 'readyToPlay' : 'paused') + >('paused') const [isMuted, setIsMuted] = useState(player.muted) const [isFullscreen, setIsFullscreen] = React.useState(false) const [timeRemaining, setTimeRemaining] = React.useState(0) |