Skip to content

Fix video player not playing when GalleryVC is opened #3773

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Aug 6, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
### 🐞 Fixed
- Fix the height of the attachment view in the composer when using larger dynamic type [3762](https://github.com/GetStream/stream-chat-swift/pull/3762)
- Remove animation in message reactions when opening a sheet in the channel view [#3763](https://github.com/GetStream/stream-chat-swift/pull/3763)
- Fix video player not playable when GalleryVC is opened [#3773](https://github.com/GetStream/stream-chat-swift/pull/3773)

# [4.83.0](https://github.com/GetStream/stream-chat-swift/releases/tag/4.83.0)
_July 28, 2025_
Expand Down
2 changes: 2 additions & 0 deletions Sources/StreamChatUI/Gallery/GalleryVC.swift
Original file line number Diff line number Diff line change
Expand Up @@ -249,6 +249,8 @@ open class GalleryVC: _ViewController,

override open func viewDidAppear(_ animated: Bool) {
super.viewDidAppear(animated)

updateContent()
attachmentsCollectionView.scrollToItem(
at: .init(item: content.currentPage, section: 0),
at: .centeredHorizontally,
Expand Down
Loading