Minor fixes/cleanup
This commit is contained in:
parent
4feee02e33
commit
ba9fbea1a1
4 changed files with 4 additions and 8 deletions
|
|
@ -217,5 +217,4 @@ function eraseCookie(name) {
|
|||
/* to be implemented in callbacks.js */
|
||||
function setupCallbacks() { }
|
||||
|
||||
window.enableCyTubeGoogleDriveUserscript = true;
|
||||
window.enableCyTubeGoogleDriveUserscriptDebug = true;
|
||||
window.enableCyTubeGoogleDriveUserscriptDebug = getOrDefault("cytube_drive_debug", false);
|
||||
|
|
|
|||
|
|
@ -1358,7 +1358,7 @@
|
|||
}
|
||||
} else if (data.type === 'gd') {
|
||||
try {
|
||||
if (data.meta.html5hack) {
|
||||
if (data.meta.html5hack || window.hasDriveUserscript) {
|
||||
return window.PLAYER = new window.GoogleDrivePlayer(data);
|
||||
} else {
|
||||
return window.PLAYER = new GoogleDriveYouTubePlayer(data);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue