plyr icon indicating copy to clipboard operation
plyr copied to clipboard

Support Google Drive videos which Utilizes the same player as youtube.

Open jaeko44 opened this issue 8 years ago • 4 comments

Feature request

jaeko44 avatar Jun 27 '16 00:06 jaeko44

Dear Friend i will be very very Hapy if the player will Supported Google Drive videos, when it will be possiable to update my request?

romblchh avatar Dec 20 '16 09:12 romblchh

@sampotts i also need this feature and i tested on the native html5 .

So, it basically boils down to this:

    1.Upload a video to Google Drive
    2.Enable public access to this video
    3.Copy public url
    Public url has this structure: https://drive.google.com/open?id=<FILE_ID>. 
Or this https://drive.google.com/file/d/<FILE_ID>/view after you open it in your browser. 
Copy the file id from this url.
    4.Paste this id into this url: https://drive.google.com/uc?id=<FILE_ID>
    5.Use the resulting url in your <source src=...>

The url from step 5 is what you get when you try to download a file after you open the public link. Actually, it has a couple extra params in query string, but it seems to work fine without them.

Hope it helps,

tifDev avatar Dec 12 '18 20:12 tifDev

@sampotts Google drive video not working even with public sharing turned on and using public link. Just keeps loading.

thecodecafe avatar Oct 28 '19 09:10 thecodecafe

@thecodecafe I also ran into this issue. What i know is that, if you open the same URL in another place, it'll prompt for a missing virus check. But this will happen only if the video size exceeds 100mb. So, will need to figure out a way to bypass that prompt so that the video plays correctly

cybars69 avatar Jul 02 '23 04:07 cybars69