Skip to content

Play and Stream Google Drive Videos on VLC Player | PC and Mobile

Stream Google Drives Videos on VLC Player Using this Simple Trick. Play Videos Stored in Google Drive on VLC on Windows, Mac, Android and iOS
Play Google Drive Videos on VLC Player

#Google Drive is the best cloud storage and file hosting platform available. People use Google Drive as a very personal space storing all their images, videos, files, and more. Though google drive has a built-in video player preview, it may not be possible for GDrive to Play all kinds of videos. This is when 3rd party video players come in handy.

The 3rd party video players like VLC can stream all formats of videos and video codecs without any streaming error. If you wish to play Google Drive videos on VLC Player for Windows, MacBook, Android, or iOS, a trick works. Follow the guide below, and you can stream Google Drive Videos on VLC player without downloading the video.

Stream Google Drive Video to VLC Player

Here are Few Simple Steps to Stream and Play Google Drive Videos on VLC Player on Windows, Mac, Android, and iOS.

Step 1. Generate Google Drive API Key

Google offers a cloud console tool for developers and users. You can use this free tool to create an API Key for your Google Drive.

  1. Open Google Cloud Console, which is a freemium service offered by Google.
  2. Log in with your Google Account and Password to access the Clouse Console.
  3. Once successfully logged in, you will be taken to Google Cloud Dashboard Homepage.
  4. Tap on the Project icon to create a new project.
    Click on Projects to Create a New Project
  5. Here create a New Project.
    Create_a_New_Porject
  6. Give the project a name, location, and hit Create.
    Add_Project_Name_and_Location_and_Click_Create
  7. Click on 3 horizontal lines on the left sidebar to open the menu option.
    Click_on_3_Horizontal_lines_to_open_menu_option
  8. Here click on APIs & Credentials and Open Library.
    click on APIs and Credentials and Open Library
  9. An API Library page will open; here, look for Google Drive API and click to open it.
    Click_Google_Drive_API
  10. Click on Enable button to Turn ON Google Drive API
    Enable_Google_Drive_API
  11. Once enabled, click on Manage.
    Click_Manage_Google_Drive_API
  12. Open Credentials Tab
    Create_Credentials
  13. Select Google Drive API from the drop-down menu for Credential Type.
    Credential_Type_Google_Drive_API
  14. Select User data and click Done.
    Fill_the_Credential_Details
  15. Now tap on + Create Credentials on the top of the page.
    Create_Credentials
  16. An API key will be generated, copy the key and paste it somewhere as we will need it later.
    Copy_the_API_Key

Step 2. Get Google Drive Sharing Link URL

  1. Now look for the Google Drive file that you wish to stream on VLC player.
  2. Right-click on the file and click on the Get link
    Get_Link
  3. If the link is restricted, select Anyone with the link.
    Here_Change_the_File_to_Anyone_with_the_Link
  4. Copy the Sharing URL
    Copy_GDrive_URL_Share
  5. Paste the sharing URL and just copy the File ID and save it somewhere safe.
    File ID Google Drive Sharing URL Link

    https://drive.google.com/file/d/file-id/view?=sharing

    Copy_Google_Drive_File_ID

Step 3. Create the Google API Link

  1. Open Notepad and enter the following Google APIs URL.
    https://www.googleapis.com/drive/v3/files/file-ID?alt=media&key=APIKey
  2. Paste the file id copied in the file ID section and API key in the APIKey section.
    Google_API_URL_to_Download_Google_Drive_File_Directly
  3. Copy the URL created and Paste it into VLC Network Stream.

Note: It may take few seconds to load the video in VLC Player based on file size, so just keep a little patience.

Video Tutorial Guide

If you wish, you can watch the video below for a detailed guide to showing API creation and URL tweaking to stream and play GDrive videos on your media player using VLC Network streaming.

Play Google Drive Videos on VLC (Mac)

  • Open the VLC player on MacBook.
  • Now click on the File tab from the top menu option.
  • Here click on the Open Network option
    Open_Network
  • Paste the googleapis URL created.
    Paste Google Drive API URL and Click Open
  • Hit the open button; the google drive video will start streaming online on VLC.
    Note: It may take a few seconds to load the video based on video size

    Video Playing in VLC

Play Google Drive Videos on VLC (Android)

  • Open VLC Player on Android
  • Click on the More tab.
  • Tap on New Stream.
    OPEN NEW STREAM
  • Here paste the Drive API URL, hit the button, and the video will start playing.
    Paste URl VLC ANDROIDNote: It may take a few seconds to load the video based on video size

Play Google Drive Videos on VLC (iOS)

  • Open VLC Player on iPhone or iPad
  • Here click on the Network tab and Open Network Stream 
    Open Network Stream
  • Paste the Google Drive API URL and click on Open Network Stream to play the video.
    Paste URL and Open stream

Alternately, you can also use the Cloud Services feature in VLC for iOS to connect your G-account with VLC and stream Google Drive videos in the VLC player.

Stream Google Drive Videos in VLC iOS

Play Google Drive Videos on VLC (Windows PC)

  • Open VLC on Windows
  • Click on Media
  • And Open Network Stream…
    open network stream VLC Windows
  • Paste the URL and stream the video

Sync Google Drive to PC and Play Videos on VLC

You can install Google Drive for Desktop on Windows and Mac PC. Once installed, sync the Google Drive with PC, this will show all the Google Drive files and folders on your PC Finder/Explorer. Locate the video file and open the file using VLC Player.

Open Video in VLC Drive

Conclusion

With this simple Guide above, you can stream and play the Google Drive Video on VLC Player on Android, iPhone, Mac, and Windows without downloading.

32 thoughts on “Play and Stream Google Drive Videos on VLC Player | PC and Mobile”

    1. Hey Florian,

      You are making a small mistake with the URL, if you look at the guide carefully, you need to embed the File ID. As I can see you have embedded a complete Sharing URL. – https://drive.google.com/file/d/1ao3qYz-Fq7ZrCJtEHVJKlgso_2hL9ABw/view?usp=sharing?

      You just need to embed 1ao3qYz-Fq7ZrCJtEHVJKlgso_2hL9ABw.

      😃

  1. to play a single file is fine, can you update the tutorial so it can read multiple files from a folder? that would be awesome to stream music files 😀

    thanks

  2. Forget what I asked before. The method is perfectly correct. It was my mistake, that I was trying to use a video not mine, but shared by someone else. With MY videos, it works like a charm!

  3. Hi to all. THX for this tutorial, but I have a question about Google Cloud, I am worried that I will be charged for something, for the use of this service.
    Am I wrong, do I have to worry?
    THX and Best Regards

  4. Hi thx for the rapid reply, certainly I have not added any type of payment, is that I wanted to understand if this use is permissible, I would use it for personal use only, max 10 GB of daily traffic.
    It really is a very useful function. it would be nice to be able to use it in complete safety.
    So THX again for your helpful tutorial.
    Best regards to all

  5. Does this method allow a video to be streamed only once? Because I created a link, it worked perfectly for the first time but now it isn’t streaming anymore.

  6. Hi mate, just like people above have said, it worked immediately but next day it stopped working, I’ve re-created the api and followed all the steps again but I’m getting this error message in VLC: “Your input can’t be opened:
    VLC is unable to open the MRL”, regardless of which platform I try to stream on(Android/Windows), any ideas other than waiting a while? I’d appreciate your help, thanks.

  7. I’ve created a log file n VLC for you to look at, its getting 403 Error which is “Forbidden”

    — logger module started —
    main: Running vlc with the default interface. Use ‘cvlc’ to use vlc without interface.
    main: playlist is empty
    access error: HTTP 403 error
    http error: local stream 1 error: Cancellation (0x8)
    — logger module stopped —

  8. Hi, I didn’t get around to fixing it yet due to work, but I managed to go through google cloud error codes and it says I need to inspect the JSON error file to get the exact error reason from it, could be quota error btw.

  9. Hi, the google drive for pc is working flawless to play videos from the google drive. But the astro file manager first downloads the video. Is there any app/file explorer that can help me to stream directly without downloading from google drive on Android. (I want to watch 4k videos that are stored on my gdrive. I don’t want to download them)

  10. Hallo, I loose track at the step 10 “Open Credential tab, I simply dont find that feature. Maybe the user interface was updated. Do you have any hint?
    Thanks very much, Florian

  11. it’s showing the error 403…which is download quota has been exceeded…but when I download it …it is downloading without any issue…can we do this with service accounts or 0’auth consent authorization…because API has it’s disadvantages…if anybody know how to create a 0’auth consent screen method to stream videos on third party video players using network stream

  12. lol, this is a joke right? 76 steps to allow one app to access a file in another folder? I could do more in DOS in 1989 in 3 steps.

Leave a Reply

Your email address will not be published. Required fields are marked *