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

[BUG]: Sample on expo cannot play local file #4120

Closed
freeboub opened this issue Aug 29, 2024 · 2 comments · Fixed by #4121
Closed

[BUG]: Sample on expo cannot play local file #4120

freeboub opened this issue Aug 29, 2024 · 2 comments · Fixed by #4121

Comments

@freeboub
Copy link
Collaborator

Version

6.3.4

What platforms are you having the problem on?

iOS, Android

System Version

N/A

On what device are you experiencing the issue?

Real device, Simulator

Architecture

Old architecture

What happened?

The sample cannot play local file.
The issue started with expo update.

Reproduction Link

repository link

Reproduction

Step to reproduce this bug are:
Just launch sample app, the 2 first local contents cannot be played

@freeboub freeboub added the bug label Aug 29, 2024
Copy link

Thank you for your issue report. Please note that the following information is missing or incomplete:

  • reproduction link

Please update your issue with this information to help us address it more effectively.

Note: issues without complete information have a lower priority

There is a newer version of the library available. You are using version 6.3.4, while the latest stable version is 6.4.5. Please update to the latest version and check if the issue still exists.

Note: If the issue still exists, please update the issue report with the latest information.

@freeboub
Copy link
Collaborator Author

Opening a bug as a reminder.
I investigated the issue and it seems that there is an issue of duplicated folders in node modules.
The repo @react-native/assets-registry is downloaded twice in the project.
once in: ./node_modules/@react-native/assets-registry
and a second time in: node_modules/react-native/node_modules/@react-native/assets-registry

We should only use the first one, where when we use local file in react native video, the second one is used.
removing the second folder workaround the issue....

I am still looking for a better change ...

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

Successfully merging a pull request may close this issue.

2 participants