ensure gifs can't change the global mute state
This commit is contained in:
@@ -67,7 +67,9 @@ export function VideoEmbedInnerNative({
|
|||||||
setIsLoading(e.nativeEvent.isLoading)
|
setIsLoading(e.nativeEvent.isLoading)
|
||||||
}}
|
}}
|
||||||
onMutedChange={e => {
|
onMutedChange={e => {
|
||||||
|
if (!isGif) {
|
||||||
setMuted(e.nativeEvent.isMuted)
|
setMuted(e.nativeEvent.isMuted)
|
||||||
|
}
|
||||||
}}
|
}}
|
||||||
onStatusChange={e => {
|
onStatusChange={e => {
|
||||||
setStatus(e.nativeEvent.status)
|
setStatus(e.nativeEvent.status)
|
||||||
|
|||||||
Reference in New Issue
Block a user