ensure gifs can't change the global mute state

This commit is contained in:
Samuel Newman
2026-02-11 18:37:44 +02:00
parent c5ea6136af
commit 5752a5a1ae
@@ -67,7 +67,9 @@ export function VideoEmbedInnerNative({
setIsLoading(e.nativeEvent.isLoading)
}}
onMutedChange={e => {
setMuted(e.nativeEvent.isMuted)
if (!isGif) {
setMuted(e.nativeEvent.isMuted)
}
}}
onStatusChange={e => {
setStatus(e.nativeEvent.status)