Skip to content
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

fix: auto restart video in gallery when end reached on Expo #2304

Merged
merged 1 commit into from
Nov 13, 2023

Conversation

khushal87
Copy link
Member

@khushal87 khushal87 commented Nov 13, 2023

🎯 Goal

Fixes: #1949

🛠 Implementation details

For the expo video player, we need to use the setPositionAsync API to reset the position to 0. This is not the case for native CLI.

🎨 UI Changes

iOS:

Simulator.Screen.Recording.-.iPhone.SE.3rd.generation.-.2023-11-13.at.16.56.27.mp4

Android:

Screen.Recording.2023-11-13.at.5.00.41.PM.mov

🧪 Testing

☑️ Checklist

  • I have signed the Stream CLA (required)
  • PR targets the develop branch
  • Documentation is updated
  • New code is tested in main example apps, including all possible scenarios
    • SampleApp iOS and Android
    • Expo iOS and Android

@santhoshvai santhoshvai merged commit 9bfa408 into develop Nov 13, 2023
11 checks passed
@santhoshvai santhoshvai deleted the fix-video-play-again branch November 13, 2023 11:37
@github-actions github-actions bot mentioned this pull request Nov 14, 2023
6 tasks
@stream-ci-bot
Copy link
Contributor

🎉 This PR is included in version 5.22.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Video in gallery fails to auto restart (Expo only)
3 participants