Karol
 · Your go-to Flutterflow guy

Upload media - how to know if it's image or video?

Hey there,

I use upload media action with both images and videos. Works fine, but I need to save it to firebase - and there I have 2 separate fields for image and video.

Is there a way, state variable, etc, that would tell me: "Your uploaded media is: image"?

Any ideas?

3
10 replies