calzoneman / sync

Node.JS Server and JavaScript/HTML Client for synchronizing online media
Other
1.47k stars 232 forks source link

Unable to view Google Drive Videos through Cytube #826

Closed DiegoFleitas closed 5 years ago

DiegoFleitas commented 5 years ago

Website Problem

Please confirm whether you've tried the following debugging steps:

Description of the Problem

System Information

On Firefox, press Ctrl+Shift+K to open the JavaScript console. On Chrome, press Ctrl+Shift+J.

calzoneman commented 5 years ago

Please follow the troubleshooting steps on https://github.com/calzoneman/sync/wiki/Google-Drive-Userscript-Installation-Guide#troubleshooting

If that doesn't work, you're SOL.

DiegoFleitas commented 5 years ago

Yeah tried again with the same result, seems like Google is not authorizing the request for some reason, I get a 302 response on Chrome with the Location to the video but on Firefox I just get a 403. Even with [https://developer.mozilla.org/en-US/docs/Mozilla/Firefox/Privacy/Tracking_Protection?utm_source=mozilla&utm_medium=devtools-netmonitor&utm_campaign=default](tracking protection) disabled

I found out a cookie is sent on Firefox while on Chrome its not and also the request Headers differ, but I don't really know how to approach this but I guess its not worth the effort

calzoneman commented 5 years ago

Outside of tracking protection, did you also enable 3rd party cookies (the UI may not exactly match the screenshot from that wiki)?

I also generally recommend users troubleshoot this type of problem by disabling all browser extensions and re-enabling them 1 by 1 until you find which one is breaking it. Generally it is some kind of privacy/adblocking extension.

However, my overall recommendation would be not to use Google Drive at all on CyTube.

DiegoFleitas commented 5 years ago

Its working now, tested on https://cytu.be/r/Think . I must have done something wrong the first time, toggling off the tracking protecting on cytube fixes it.

image

I also use Ublock Origin and it's active but doesn't seem to be interfering with it. Thanks for your help and developing this amazing project my dude, I like it a whole lot