Comments (9)
https://github.com/Shobbak/react-native-compressor#minimumfilesizeforcompress-number-default-16
just released 1.1.0
version of the compressor which has fixed this issue.
yarn add [email protected]
from react-native-compressor.
@aamez you can remove this condition for android
https://github.com/Shobbak/react-native-compressor/blob/dd5c106522461005acd89d6f679c0ef2f96fdd74/android/src/main/java/com/reactnativecompressor/Video/AutoVideoCompression/AutoVideoCompression.java#L38
and remove this condition for IOS to compress video which size is 16MB
https://github.com/Shobbak/react-native-compressor/blob/dd5c106522461005acd89d6f679c0ef2f96fdd74/ios/Video/VideoCompressor.swift#L205
from react-native-compressor.
@aamez i will add prop for this
from react-native-compressor.
@aamez you can remove this condition for android
https://github.com/Shobbak/react-native-compressor/blob/dd5c106522461005acd89d6f679c0ef2f96fdd74/android/src/main/java/com/reactnativecompressor/Video/AutoVideoCompression/AutoVideoCompression.java#L38and remove this condition for IOS to compress video which size is 16MB
https://github.com/Shobbak/react-native-compressor/blob/dd5c106522461005acd89d6f679c0ef2f96fdd74/ios/Video/VideoCompressor.swift#L205
Great man it worked, thanks :)
from react-native-compressor.
@aamez i will add prop for this
sure thanks @nomi9995 :)
from react-native-compressor.
@nomi9995 Was this prop added? Any updates on it?
from react-native-compressor.
@joxw1 no, I did not add. I forgot. i will add it today
from react-native-compressor.
@joxw1 i have added minimumFileSizeForCompress
for this purpose
https://github.com/Shobbak/react-native-compressor#minimumfilesizeforcompress-number-default-16
i will release today after fixing one or two more issue
from react-native-compressor.
@nomi9995 Thanks! Great effort! π
from react-native-compressor.
Related Issues (20)
- react-native update from 0.70.6 to 0.71.0, error with RCT-Folly HOT 4
- development build is failing on expo development build HOT 4
- Add a method to return Image metadata like getVideoMetadata() HOT 3
- upload formData instead of fileUri HOT 2
- Android app not getting built after upgrading to 1.8.20 HOT 4
- unable to compress files in parallel HOT 4
- "software caused connection abort" error on long backgroundUpload HOT 1
- Apparently linked problem using Jest HOT 2
- Video compression breaks video stream compatibility HOT 9
- Cannot get the blob for thumbnail url HOT 2
- Question: can this lib convert files ? HOT 3
- No ability to select timestamp of video for thumbnail HOT 1
- εηΌ©εζε°εΊζ₯ηζ¬ε°θ·―εΎεεθ·―εΎηΈε HOT 4
- Build error at ImageCompressor.swift file - Cannot find 'RCTResizeMode' in scope HOT 2
- IOS Build Error: cannot find React/RCTResizeMode.h' in scope HOT 2
- [Android] backgroundUpload crashes when no uploadType provided HOT 1
- [Android] Compilation failed for task compileDebugKotlin HOT 2
- Question: Is it possible to mirror a video on android using mp4parser in this module?
- Expo go link error HOT 2
- when i upload file using backgroundUpload, the body inside the response is empty [ios] HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-native-compressor.