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
Expo video player issue (Android) with public drive link. #28637
Comments
Hello @deviserops! I wanted to update you on the example you shared. I tested it with the latest version and I don't believe there is an issue with the link. However, while the player was able to download the file, it was unable to play it, which indicates there might be a problem with decoding the file. Could you please provide native logs from your app? Here's a crash from my app:
|
The app I am using is default fron expo example, it's here. Open Link
Also in my Summery I provide a project which only contain single file of code which is same as in example. Let me know if you need any other info. |
I understand, but you didn't provide the native logs. You can use the |
HI @lukmccall Log DetailsAndroid emulator Logs
Physical device Logs (Nokia 6.1 Plus)
|
Thanks for providing more information! The error message suggests that the encoding you are using is not supported by your device. The video you are trying to play is encoded with H.264 High profile, which is not among the list of standard supported formats for your device. Although some devices may support it, Android does not provide this support by default. Therefore, I would recommend converting the video to the H.264 Standard profile. This should resolve the issue and allow you to play the video on your device. Here are some metadata from your file:
|
Minimal reproducible example
https://github.com/deviserops/expo-video-issue
What platform(s) does this occur on?
Android
Did you reproduce this issue in a development build?
Yes
Summary
Summary:
How to run:
npm install
npm start
App.tsx
fileExpected behavior:
Actual Behavior:
Tested Device and environment.
Note:
Environment
expo-env-info 1.2.0 environment info:
-- OS: Linux 6.5 Ubuntu 22.04.4 LTS 22.04.4 LTS (Jammy Jellyfish)
-- Shell: 5.1.16 - /bin/bash
-- Node: 20.4.0 - ~/.nvm/versions/node/v20.4.0/bin/node
-- npm: 9.8.0 - ~/.nvm/versions/node/v20.4.0/bin/npm
-- expo: ~50.0.17 => 50.0.17
-- react: 18.2.0 => 18.2.0
-- react-native: 0.73.6 => 0.73.6
-- eas-cli: 8.0.0
-- expo-cli: 6.3.10
Expo Doctor Diagnostics
Need to install the following packages:
expo-doctor@1.6.0
Ok to proceed? (y) y
✔ Check Expo config for common issues
✔ Check package.json for common issues
✔ Check native tooling versions
✔ Check dependencies for packages that should not be installed directly
✔ Check for common project setup issues
✔ Check npm/ yarn versions
✔ Check for issues with metro config
✔ Check for legacy global CLI installed locally
✔ Check that native modules do not use incompatible support packages
✔ Check Expo config (app.json/ app.config.js) schema
✔ Check that native modules use compatible support package versions for installed Expo SDK
✔ Check that packages match versions required by installed Expo SDK
Didn't find any issues with the project!
The text was updated successfully, but these errors were encountered: