Remove html5hack (legacy google drive setting)

This commit is contained in:
Calvin Montgomery 2017-07-02 22:30:19 -07:00
parent 5500054b84
commit 860775a90b
4 changed files with 2 additions and 7 deletions

View file

@ -2,7 +2,7 @@
"author": "Calvin Montgomery", "author": "Calvin Montgomery",
"name": "CyTube", "name": "CyTube",
"description": "Online media synchronizer and chat", "description": "Online media synchronizer and chat",
"version": "3.39.2", "version": "3.39.3",
"repository": { "repository": {
"url": "http://github.com/calzoneman/sync" "url": "http://github.com/calzoneman/sync"
}, },

View file

@ -125,9 +125,6 @@ var defaults = {
enabled: false, enabled: false,
socket: "service.sock" socket: "service.sock"
}, },
"google-drive": {
"html5-hack-enabled": false
},
"twitch-client-id": null, "twitch-client-id": null,
poll: { poll: {
"max-options": 50 "max-options": 50

View file

@ -510,7 +510,6 @@ var Getters = {
/* google docs */ /* google docs */
gd: function (id, callback) { gd: function (id, callback) {
GoogleDrive.setHTML5HackEnabled(Config.get("google-drive.html5-hack-enabled"));
var data = { var data = {
type: "googledrive", type: "googledrive",
kind: "single", kind: "single",

View file

@ -38,8 +38,7 @@ Media.prototype = {
bitrate: this.meta.bitrate, bitrate: this.meta.bitrate,
scuri: this.meta.scuri, scuri: this.meta.scuri,
embed: this.meta.embed, embed: this.meta.embed,
gdrive_subtitles: this.meta.gdrive_subtitles, gdrive_subtitles: this.meta.gdrive_subtitles
html5hack: this.meta.html5hack
} }
}; };
}, },