How do decode base64 video and play the video using flutter?

426 Views Asked by At

am recording the video using camera plugin and saved the video in internal storage path then i have encoded video using base64.Now i need to decode the encoded value and play the decoded value in flutter application.If any one can help me. thanks in advance.

_fileConvert(String path) {
    File file = File(path);
    List<int> fileInByte = file.readAsBytesSync();
    String fileInBase64 = base64Encode(fileInByte);
    print("fileInBase64............");
    print(fileInBase64);

  }
0

There are 0 best solutions below