We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3606716 commit c32a685Copy full SHA for c32a685
CHANGELOG.md
@@ -3,7 +3,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
3
4
# Upcoming
5
6
-### 🔄 Changed
+### 🐞 Fixed
7
+- Video playing after being dismissed on iOS 17.1
8
9
# [4.40.0](https://github.com/GetStream/stream-chat-swiftui/releases/tag/4.40.0)
10
_October 26, 2023_
Sources/StreamChatSwiftUI/ChatChannel/Gallery/VideoPlayerView.swift
@@ -51,6 +51,9 @@ public struct VideoPlayerView: View {
51
try? AVAudioSession.sharedInstance().setCategory(.playback, options: [])
52
avPlayer.play()
53
}
54
+ .onDisappear {
55
+ avPlayer.replaceCurrentItem(with: nil)
56
+ }
57
58
59
0 commit comments