Google Drive Video Player for Synchtube

Play Google Drive videos on Synchtube

Author
Troy Tran
Daily installs
0
Total installs
563
Ratings
0 0 0
Version
1.1.0
Created
2016-08-28
Updated
2016-08-28
License
N/A
Applies to

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.


Table of Contents

  1. Purpose
  2. Chrome
  3. Firefox
  4. Other browsers


Purpose

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.


Chrome

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.

  1. Open the Tampermonkey page on the Chrome web store.

    Tampermonkey Extension
  2. Install it.

    Confirming Tampermonkey
  3. Install the userscript.

    Installing the userscript


Firefox

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

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.