question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[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

  1. start a bare expo project, install expo-av
  2. apply this patch https://github.com/expo/expo/pull/3875/commits/232c24576733ed7b6d1a6731c40ef621548195a3
  3. 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:closed
  • Created 4 years ago
  • Comments:13 (8 by maintainers)

github_iconTop GitHub Comments

2reactions
lenarmazitovcommented, Jun 5, 2019

Ah, sorry, forgot to add you need to remove the andExperienceId:… part from this line. 🙂

@sjchmiela could you update this gist with your changes? https://gist.github.com/brentvatne/94960dacb343310b76be9cc157d90049/revisions

1reaction
IjzerenHeincommented, Jul 24, 2020

it seems the original problem mentioned in this issue is fixed. @naorzr can we close this? cheers

Read more comments on GitHub >

github_iconTop Results From Across the Web

No results found

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found