I’m a Software Developer with hands-on experience building scalable mobile and web applications, streamlining workflows with automation, and experimenting with AI-driven solutions for business impact.
Location
Pune, India
Education
B-Tech in Computer Science and. Technology engineering
Yes, I have forked the React-native-video and made the changes so we can cache videos, when videos streams in exo player, we cache the byte by byte via video player. So yes we need to use ract-native-video
I’m a Software Developer with hands-on experience building scalable mobile and web applications, streamlining workflows with automation, and experimenting with AI-driven solutions for business impact.
Location
Pune, India
Education
B-Tech in Computer Science and. Technology engineering
Use this to install
1.npm install --save git+git@github.com/paddy57/react-nativ...
then follow react-native-video README to
2.link lib with your project
I’m a Software Developer with hands-on experience building scalable mobile and web applications, streamlining workflows with automation, and experimenting with AI-driven solutions for business impact.
Location
Pune, India
Education
B-Tech in Computer Science and. Technology engineering
Hello
Thank you for your post.
I am beginner in React Native. I am developing new App, but I am using Yarn.
How can I use your package in my project, I can install it into my app.
I hope your help.
Regards.
We're a place where coders share, stay up-to-date and grow their careers.
Hello. Thank you for sharing this.
I was looking for a library to cache my videos.
I have a question.
Do we still need to use react-native-video along side react-native-video-android-cache
Yes, I have forked the React-native-video and made the changes so we can cache videos, when videos streams in exo player, we cache the byte by byte via video player. So yes we need to use ract-native-video
Thank you sir for getting back.
Do we just use npm install --save git+git@github.com/paddy57/react-nativ... or do we use both
npm install --save git+git@github.com/paddy57/react-nativ... and npm install react-native-video
Use this to install
1.npm install --save git+git@github.com/paddy57/react-nativ...
then follow react-native-video README to
2.link lib with your project
I have done that.
I really want to use this library, it will help a lot in my project.
I am facing a compile error:
The error seems to be brought by this::
----folder/node_modules/react-native-video/android-exoplayer/src/main/java/com/brentvatne/exoplayer/AndroidCacheDataSourceFactory.java:33: error: cannot find symbol
String userAgent = Util.getUserAgent(context, context.getString(R.string.app_name));
^
symbol: variable app_name
location: class string
it seems that R.string.app_name can't be located.
I am not familiar with how android java projects get linked with react native but I do have a bit of java android mobile development knowledge.
I would like to ask, is the R.string.app_name referenced on my react native project or should it be declared in the library?
replace
String userAgent = Util.getUserAgent(context, context.getString(R.string.app_name));
with
String userAgent = Util.getUserAgent(context, YOUR_APP_NAME);
After Install npm install --save git+git@github.com/paddy57/react-nativ...
I am getting the Error: Unable to resolve module ./DRMType from \node_modules\react-native-video\Video.js:
Please help me out in this
thank you
Hello
Thank you for your post.
I am beginner in React Native. I am developing new App, but I am using Yarn.
How can I use your package in my project, I can install it into my app.
I hope your help.
Regards.