will be helpful for those in need I think you are using the wrong oauth scope, probably https://www.googleapis.com/auth/drive.file which restrict your app's access to file created or opened by your app, when you should use https://www.googleapis.com/auth/drive which gives full control to your app.
stream audio files to play from google drive using google drive api in android
hope this fix your issue I would recommend you checking the Java Quickstart first and try modifying the code. There's a line there like service.files().list() which you can try to set to service.files().get().setFields("webViewLink"); to fetch the webViewlink property.
How Google Drive, Dropbox and etc can stream any uploaded video file format in your browser
hop of those help? They convert the video, server side, into a format that can be played by browsers. Its expensive, and very complicated. Large companies like Dropbox hire dozens of employees to build that system. Small companies outsource it to places like mux or competitors. (Full disclosure, I make video encoding software for mux)