I have been fighting quite a while to make video_player working but as far as I understand I don’t give the right source path to video_player which always says “Error 701 - unable to load null”.
Anyone can help me, please ?
I downloaded the video in a directory : /Download/storage/emulated/0/essai/TEST.mp4
And I was able to check that it is here.
Then I used the following source path for video_player :
But I have always the same error message.
Note that I put this video in this directory to try but I would prefer that the video be downloaded in the app. assets directory.
Thanks in advance
I have been able to check that it is here
Save files as location is not correct and you dont need to add storage/emulated/0/.
In the save file as block just add the custom file name. Whole path is not required
Thank you for your answer.
However, I want to focus on video_player which does not recognise the location of the file.
I can see that the file exists in the directory /Download/storage/emulated/0/essai/
What source text should I put ?
VideoPlayer uses absolute path so ’
/storage/emulated/0/ + your path’ should work.
@vknow360 I think you are right
One of this would work
@jytar Have you read my above post?
@vknow360 I think he didn’t
NOPE , it does work either. Even if I put /Download/ before.
Is it a bug of Kodular. I saw many complaints but never saw an answer to my problem.
Thank you anyway
why not use
variable from download complete block it will sure work
Many members say that it doesn’t work but dont’t tell that what is not working
Anybody faced this problem and solved it ?
When I check if the file exists with “Call File1.Exits” and the path /Download/storage/emulated/0/essai/TEST.mp4, it works fine :
But when I use the same path with video_player I does not work !
It is a basic use and I don’t find solution, how come ?
Still need a hand…
File component uses relative path unlike
@vknow360 I dont get why he is using
I guess he wants to save file in a sub-folder of Download folder.
Try this: Download/TEST.mp4