plyr
plyr copied to clipboard
Support Google Drive videos which Utilizes the same player as youtube.
Feature request
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?
@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,
@sampotts Google drive video not working even with public sharing turned on and using public link. Just keeps loading.
@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