Skip to content

Commit

Permalink
reset playback rate on exit fullscreen (#5116)
Browse files Browse the repository at this point in the history
  • Loading branch information
mozzius authored Sep 3, 2024
1 parent 7f26ad5 commit 5c2e9f0
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ export function VideoEmbedInnerNative({
PlatformInfo.setAudioCategory(AudioCategory.Ambient)
PlatformInfo.setAudioActive(false)
player.muted = true
player.playbackRate = 1
if (!player.playing) {
player.play()
}
Expand Down

0 comments on commit 5c2e9f0

Please sign in to comment.