Google Drive Player Script
Getting Started
Grab Google Drive streaming links (redirector.googlevideo.com/videoplayback?..). You can use it for video players (jwplayer, videojs, plyr etc).
Notes
- Requires a Google Drive API key (create one here).
- Grab one streaming hotlink
- .mkv won’t have sound (convert to mp4)
Prerequisites
- Web Hosting or VPS (Namecheap)
- PHP 5+ or greater (suggest PHP 7.x)
Deployment
Put all files into the public/htdocs directory.
In drive.php enter your google drive api key (googledrive_key)
Usage
http://<yourdomain.com>/?url=https://drive.google.com/file/d/[ID]/view
Live Demo: https://googledriveplayer.herokuapp.com/
How to Find the Google Drive URL
- Share that video
- Get shareable link https://drive.google.com/file/d/[ID]/view?usp=sharing
Built With
- PHP Simple HTML DOM Parser - A HTML DOM parser written in PHP5+
- Plyr - A simple HTML5, YouTube and Vimeo player
Contributing
Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.
Versioning
We use SemVer for versioning. For the versions available, see the tags on this repository.
Authors
- ArdiArtani - Initial work - ArdiArtani
See also the list of contributors who participated in this project.
Donate
- Ripple (XRP): rNbRzhFaX2XQfRzY7CxkDqEHNFBAbCfJML
- Ethereum (ETC): 0x95082b9016bc6437565cccec38d544d26e7cfbbd
- Paypal: Donate
License
This project is licensed under the MIT License - see the LICENSE file for details