From 860775a90b6584d16cee3ad843ce80c95505973d Mon Sep 17 00:00:00 2001 From: Calvin Montgomery Date: Sun, 2 Jul 2017 22:30:19 -0700 Subject: [PATCH] Remove html5hack (legacy google drive setting) --- package.json | 2 +- src/config.js | 3 --- src/get-info.js | 1 - src/media.js | 3 +-- 4 files changed, 2 insertions(+), 7 deletions(-) diff --git a/package.json b/package.json index 934454d0..26abf8b9 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "author": "Calvin Montgomery", "name": "CyTube", "description": "Online media synchronizer and chat", - "version": "3.39.2", + "version": "3.39.3", "repository": { "url": "http://github.com/calzoneman/sync" }, diff --git a/src/config.js b/src/config.js index dfaf116a..1003539c 100644 --- a/src/config.js +++ b/src/config.js @@ -125,9 +125,6 @@ var defaults = { enabled: false, socket: "service.sock" }, - "google-drive": { - "html5-hack-enabled": false - }, "twitch-client-id": null, poll: { "max-options": 50 diff --git a/src/get-info.js b/src/get-info.js index 4ac437c1..e606130a 100644 --- a/src/get-info.js +++ b/src/get-info.js @@ -510,7 +510,6 @@ var Getters = { /* google docs */ gd: function (id, callback) { - GoogleDrive.setHTML5HackEnabled(Config.get("google-drive.html5-hack-enabled")); var data = { type: "googledrive", kind: "single", diff --git a/src/media.js b/src/media.js index eeeed5c0..a07416e2 100644 --- a/src/media.js +++ b/src/media.js @@ -38,8 +38,7 @@ Media.prototype = { bitrate: this.meta.bitrate, scuri: this.meta.scuri, embed: this.meta.embed, - gdrive_subtitles: this.meta.gdrive_subtitles, - html5hack: this.meta.html5hack + gdrive_subtitles: this.meta.gdrive_subtitles } }; },