I want to display the file name after selection from the device storage.
How do I just show “video.mp4” instead of the precise location of the file like.
“storage/emulated/0/DCIM/Camera/video.mp4”
I’m using video picker component.
I want to display the file name after selection from the device storage.
How do I just show “video.mp4” instead of the precise location of the file like.
“storage/emulated/0/DCIM/Camera/video.mp4”
I’m using video picker component.
Use replace text block
storage/emulated/0/DCIM/Camera/video.mp4
should be in ‘text’ and
storage/emulated/0/DCIM/Camera/
should be in ‘segment’
Or I’m wrong?
No you’re correct.
I did this however, if the file location is something else, this doesn’t work anymore.
You can try this approach, without hard-coding file paths:
It worked, thanks.
You are correct
I was Doing in Phone so it got mismatched
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.