[Video][IOS][Bare Workflow] PlayAsync only works on second time it was invoked
See original GitHub issue🐛 Bug Report
Environment
Expo CLI 2.14.0 environment info: System: OS: macOS 10.14.3 Shell: 5.3 - /bin/zsh Binaries: Node: 11.8.0 - /usr/local/bin/node npm: 6.9.0 - /usr/local/bin/npm Watchman: 4.9.0 - /usr/local/bin/watchman IDEs: Android Studio: 3.4 AI-183.5429.30.34.5452501 Xcode: 10.2.1/10E1001 - /usr/bin/xcodebuild npmPackages: react: 16.6.3 => 16.6.3 react-native: 0.58.6 => 0.58.6 npmGlobalPackages: expo-cli: 2.14.0
IOS
Steps to Reproduce
- start a bare expo project, install expo-av
- apply this patch https://github.com/expo/expo/pull/3875/commits/232c24576733ed7b6d1a6731c40ef621548195a3
- click the gray Play/Pause button to start the video(only work after the second time)
note: the patch on step 2 is necessary, otherwise it would just invoke an error and crash whenever trying to reload and so on.
Expected Behavior
PlayAsync should work after the first time it was invoked
Actual Behavior
PlayAsync is invoked only after the second time it was called
Reproducible Demo
You can clone this minimal repo, just follow the short README https://github.com/naorzr/expoVidRepro/tree/master
Issue Analytics
- State:
- Created 4 years ago
- Comments:13 (8 by maintainers)
@sjchmiela could you update this gist with your changes? https://gist.github.com/brentvatne/94960dacb343310b76be9cc157d90049/revisions
it seems the original problem mentioned in this issue is fixed. @naorzr can we close this? cheers