-
Notifications
You must be signed in to change notification settings - Fork 0
Google Drive Userscript Installation Guide
This guide will walk you through installing the userscript necessary for playing media hosted by Google Drive on newer CyTube installations. If you already know what a usercript is, get it here.
Since Google Drive support was launched in early 2014, it has broken at least 4-5 times, requiring increasing effort to get it working again and disrupting many channels. This is because there is no official API for it like there is for YouTube videos, which means support for it relies on undocumented tricks. In August 2016, the decision was made to phase out the native support for Google Drive and instead require users to install a userscript, which allows to bypass certain browser restrictions and make the code easier, simpler, and less prone to failure (it could still break due to future Google Drive changes, but is less likely to be difficult to fix). The userscript is a short script that you can install using a browser extension such as Greasemonkey or Tampermonkey that runs on the page and provides additional functionality needed to play Google Drive videos.
In order to run userscripts on Chrome you will need to install a userscript host browser extension called Tampermonkey. Once you've installed it opening the userscript link should turn the tab into an installation dialogue. Here you may review the source code of the userscript. Once you are satisfied it only does what we said it does, click the install button. You may now return to CyTube and view Google Drive content without issue.
- Open the Tampermonkey page on the Chrome web store.
- Install it.
- Install the userscript.
For Firefox, you can install the Tampermonkey addon from here. Then you can follow the same steps as for Chrome to install the userscript.
The script is also compatible with Greasemonkey.
Other browsers should work much the same way, install a userscript host extension/plugin and then installing the userscript into it. Tampermonkey supports most browsers.