-
Notifications
You must be signed in to change notification settings - Fork 325
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
Problem with source, no view loaded. #38
Comments
@RZulfikri just add source string
|
Can you please copy and past your source URI here, also please give me more details on which platform did you checked it, on which rn version do you use |
actually i use file from camera roll/device. I use image picker component, so the URI may look like "/Users/lembah8/Library/Developer/CoreSimulator/Devices/B187BB61-5580-423A-98BC-1E1D0F3D5FA2/data/Containers/Data/Application/D82AA33C-E5B0-467A-B4BD-B2F57E7EDBA4/tmp/trim.72D3B914-8A93-473D-8158-4046026A7C34.MOV" i try it on IOS, using react-native 4.0 |
seems like you linked library not correctly, check |
I think when the path is like yours, @RZulfikri, you need to prepend |
@shahen94 when i try on android it work This the view when i try in ios and android.
i guess i missing something when setup IOS but i dont know what. For information, my project didnt have "ProjectName-Bridging-Header.h" so i create one and add some code from your video. Did the problem because of that ? |
@RZulfikri you are using reacts natives images picker right ? |
@shahen94 yup.. |
Well, as result it gives you object right, pass |
still same, i got uri like this "file:///Users/lembah8/Library/Developer/CoreSimulator/Devices/B187BB61-5580-423A-98BC-1E1D0F3D5FA2/data/Containers/Data/Application/5020CE67-D857-4C72-9166-C13D7060452E/tmp/trim.0B0D6057-ED5D-40EA-A8D0-FEDCE281F0CA.MOV" |
@RZulfikri |
@shahen94 so i should try that on device ? because assets-library only for devices ? |
@RZulfikri not only, i used it on simulator |
@RZulfikri Definitely you're linked the library not correctly. React-native shows red border around unrecognized view. |
@shahen94 what should i do then ? |
@RZulfikri check chrome console, there should but an error, remove library from project and follow the video, and do all what it shows |
@shahen94 ok thank you, i will try.. |
@shahen94 i guess it because failed import method.. based on tutorial video, i must import RVVideoProcessing like |
@shahen94 i already follow step from readme and step from video, but still error.. |
@RZulfikri do you still have this issue ? |
@shahen94 For IOS ? yes.. |
Well, let's try to link android manually.
$ react-native unlink react-native-video-processing after that
|
@shahen94 thanks |
I'm trying the usage example from readme, i use
and also for Trimmer
but, i got warning 'Failed prop type: Invalid prop source supplied to VideoPlayer' and no view loaded, also same for Trimmer . i got this in ios and android. did i miss something ?
then i'm trying using
source={require('./video.mp4')}
no error and no view loaded.if you don't mind, would you add an example ?
thx
The text was updated successfully, but these errors were encountered: