Apparently, you can stream an mp3 file that was uploaded to Firebase storage. But, how would one go about this for a video file?
Firebase docs says the way to retrieve a video is to download it, but I don't want to "download" it.
Apparently, you can stream an mp3 file that was uploaded to Firebase storage. But, how would one go about this for a video file?
Firebase docs says the way to retrieve a video is to download it, but I don't want to "download" it.
I was able to achieve this by treating the firebase URL as a regular URL.
String str = "FIREBASESTORAGE_VIDEO_URL";
Uri uri = Uri.parse(str);
videoViewLandscape.setVideoURI(uri);
videoViewLandscape.requestFocus();
videoViewLandscape.start();