<how to preview and upload video file to firebase ...
# stackoverflow
u
how to preview and upload video file to firebase in android kotlin I am trying to upload a video file to firebase.:- this is the code:- lateinit var file: Any private fun selectingVideo() { val videoPickIntent = Intent(Intent.ACTION_PICK) videoPickIntent.type = "video/*" startActivityForResult(Intent.createChooser(videoPickIntent, "Please pick a video"), videoRequest ) } override fun onActivityResult(requestCode: Int, resultCode: Int, data: Intent?) { super.onActivityResult(requestCode, resultCode, data) if (requestCode ==...