Open gyhyfj opened 1 month ago
Thank you for your issue report. Please note that the following information is missing or incomplete:
Please update your issue with this information to help us address it more effectively.
Note: issues without complete information have a lower priority
I don't think urls with ~ are supported ...
@freeboub I found that remove bufferConfig
can solve this problem
I don't think urls with ~ are supported ...
It's still available NodeRequire, transformed by babel.
However I think it's wired to pass it to uri
since v6
, which is different from Image
componet
@gyhyfj It looks like the issue is the following: we try to cache a local file playback, it doesn't make sense, but I agree this configuration should work in the package. My remark was about the file path starting with ~, but if it works without bufferingConfig, it is a valid workaround
I don't reproduce the issue with the sample app ... Did you try to put a path without '~' inside, and with a relative path to your project ? The error is : "Malformed URL" I really suspect an issue with your path which may not be correctly translated.
If it still not working, can you please share a sample which reproduce the issue ?
any update ?
@gyhyfj It looks like the issue is the following: we try to cache a local file playback, it doesn't make sense, but I agree this configuration should work in the package. My remark was about the file path starting with ~, but if it works without bufferingConfig, it is a valid workaround
I replace ~
path with relative path, after build, it still throw the same error
Can you try without cacheSize property ?
Can you try without cacheSize property ?
It works well without cahceSize
property. But the default cacheSize
is 0
.
I don't think urls with ~ are supported ...
Also if I use source={require()}
rather than source={{uri: require()}}
, it throw that same error
Version
6.6.2
What platforms are you having the problem on?
Android
System Version
12
On what device are you experiencing the issue?
Real device
Architecture
Old architecture
What happened?
I'm using
react-native-video@6.6.2
onreact-native@0.73.5
, to display required asset video. Everything works well on dev, but after build, video and postes can't display, with error:Reproduction Link
repository link
Reproduction
props is:
source is