Category : video

I would like to know how to upload video from flutter app to server (server code written in PHP). Below is the flutter code I am using, void uploadFile(filePath) async{ String fileName = _video.path; print(fileName); file = await MultipartFile.fromFile(_video.path, filename: basename(_video.path)); print(test); try{ FormData formData = new FormData.fromMap({ "video_link": "test.com", "video": file, "email_id": "[email protected]", "mobile": ..

Read more