-
Notifications
You must be signed in to change notification settings - Fork 473
Youtube videos don't play #358
Comments
When referrer-spoofing breaks a web site, the solution is to disable referrer-spoofing. |
Or to use another addon where referrer-spoofing does not break the video playback. I've not signed up myself here to report an issue to hear if I have problems I should stop using the feature then. Just saying. It has worked before, it works on 0.9.1.2, it works with other addons providing the same feature. It does NOT work with the latest beta of uMatrix. |
See CONTRIBUTING, then compare against the issue you filed. You said yourself "something they changed", so I assumed you actually researched this and came to the conclusion the issue was server-side, not uMatrix-side, this is your own words. |
I haven't looked at this file. Guess its my mistake then, I apologize. So will you take a look on it? |
@Symbai provide some details that gorhill would be able to reproduce the issue: update:sorry I haven't noticed you provided that you use the latest beta of uMatrix. |
Same problem here. Firefox 41.0, Windows 8.1, referrer spoofing on. Version 0.9.2.2b4 breaks YouTube, but when I switch back to 0.9.2.1, it works. |
Must be a windows issue. Gentoo here, FF 40.0.0.3, tried with both flash and html5, referrer spoofing on, and it just works™. |
@Symbai @danieljl I just tried on firefox 34.0.5 (portable version), uMatrix 0.9.2.2b4, windows 7, "Spoof HTTP referrer string of third-party requests" is checked, html5 - youtube works fine. Check this lines in "My rules" tab: |
Hi there, I have the same issue when I enable spoofing it breaks HTML5 playback and YouTube reverts to flash after some time. I am using Firefox 41.0.1 on Windows 10 x64 with uMatrix 0.9.3.0rc1 with Referrer-Spoofing activated. When Referrer-Spoofing is disabled HTML5 playback works again on YouTube. I confirmed my rules are set up correctly and they're somewhat more liberal even. Here is the "full" log up to the moment it falls back to flash video (which is set for click to activate). I hope you find this information beneficial. Thanks for your hard work! Referrer-Spoofing Enabled: uMatrix 0.9.3.0rc1 Is it at all possible that the spoofing feature was broken on uMatrix 0.9.2.1 and the functionality was then fixed in this context? It also should be noted that for testing purposes the videos were allowed to buffer and not play, the first that defaulted to flash was in click to play mode and not allowed to buffer. No user agent overrides were used in any instance. |
Interesting, I could reproduce it in Nightly, but not in FF41 earlier. |
Strange, exact same page in FF41 and Nightly + exact same uMatrix configuration in FF41 and Nightly: FF41 plays fine with referrer spoofing enabled Using Network tab, I see FF41 being served a single |
What happens if you switch-spoof their user agents? |
I turned off UA spoofing on Youtube to be sure it wasn't the issue. |
I should have elaborated, in no instances was I using a user agent override of any kind. |
Sorry, did not mean to imply UA spoofing was already on. I was merely trying to suggest turning it on, and making each FF instance pretend it's the other one :) |
Using FF41 UA string in Nightly does not help. Biggest difference is one is served |
Right, but how does that effect the two different versions of uMatrix where one works on 41.0.1 and one doesn't? (in my set up anyway) Which brings me back to my question is it possible that uMatrix Referrer-Spoofing feature could have been broken for YouTube in 0.9.2.1? Thanks |
I can confirm this bug, using Firefox 41.0.1, uMatrix 0.9.3.0rc1, however, in both cases for me youtube sends a webm, only that one doesn't play. I have no hard evidence, but I suspect it might have something to do with youtube not using SSL (secure connection) for the video data when using UA-spoofing, despite accessing youtube via HTTPS - the URIs used for sending video looks quite radically different (I can provide examples should you require them). |
I am using HTTSPEverywhere, what you're saying still doesn't explain why every time 0.9.2.1 works with 41.0.1 and the other doesn't. If it is sending a different file because I'm using a different version of the extension, on the same version of the browser and windows then we have a real problem here I think. |
My post was not related to what you've been saying what-so-ever. gorhill already reported that FF41 plays fine with referrer-spoofing, while it does not for me. Also, I'm being served webm in both cases while you are being served mp4. |
requiressl=yes is in the same content link it is serving me, how about you post your log? Are you using any extensions/userscripts which change youtube prefs such as Youtube Center? What is your OS platform? Thanks |
Sorry about that. Win10, I am using YTC. Disabling YTC still sends me webm video. Logs provided below: |
what happens if you turn webm off in about:config (search for webm)? Do you get the mp4 file then? |
This does not only happen in Firefox and is related to the new origin logic in 2224ece (lines 259–272). Chromium spits out the following error:
I've not studied the code especially fastidiously, but—evidently—uMatrix sets the value of |
No, uMatrix sets the value of I can reproduce with Chromium as well as you report. The error message says "supplied origin": this does not come from the headers, because dev console shows these are spoofed as expected by uMatrix. So this is the issue: modifying the So essentially this means referrer spoofing breaks Youtube, so it will have to be disabled on Youtube. |
Ok, if I'm understanding this correctly, googlevideo.com dynamically sets the value of Thank you for your patience in dealing with this issue. |
https://github.com/gorhill/uMatrix/wiki/Per-scope-switches uMatrix has an option for per site basis via the 3 dot menu, so you don't have to fully disable the option. (Thanks gorhill) |
On Clubic.com the same issue occurs with livefyre. If the referrer spoofing is enabled the comments won't appear. Everything was fine with 0.9.2.1 example: http://www.clubic.com/mag/culture/actualite-783092-quiz-connaissez-retour-futur.html |
Because the |
its shown here how to disable for youtube.com but i dont know whether this also applies for other sites that embed youtube. do we need to manually disable scope for those as well? Cause i run into a lot of forums like those :/ |
It always applies to the hostname in the URL of the web page. |
I will remove the spoofing of the https://tools.ietf.org/id/draft-abarth-origin-03.html#rfc.section.7:
|
Fixed with 8c6b94e. |
Just wanted to leave some feedback: I feel like this was a sad decision to remove |
No, google enforces it. |
How? |
Whoever disagree with the decision, feel free to contribute a comprehensive solution. |
@Drugoy Javascript. Another case is restricting embedded videos. |
@Atavic Javascript can be blocked or get handled like in NoScript (it utilizes surrogates so that the script is working but doesn't report anything to anywhere). |
Hello,
when Referrer-Spoofing is active, youtube videos don't play. Something they changed as it worked weeks ago without an issue.
The text was updated successfully, but these errors were encountered: