-
Notifications
You must be signed in to change notification settings - Fork 17
Videos on facebook unable to play due to CORS policy in Chrome #19
Comments
On the screen you have two switches enabled, one of them is obviously referer spoofing. Disable it and video on the link will work.
|
That screenshot is from my own profile, but I've tried using a brand new profile as well (as I described) with all settings left to default except for whitelisting everything on facebook. I actually did search through the wiki as well. I searched through both this and the other repository for CORS to see if there have been similar issues and I found no useful info. Nowhere does it mention that the CORS policies are affected by the "Spoof Referer header" setting which is enabled by default... I followed all of the lengthy steps of the issue creation process... perhaps an extra step needs to be added ;) |
Disable Spoof Referrer Header for |
Added a notice for the individual switches which can cause website breakage - https://github.com/gorhill/uMatrix/wiki/Per-scope-switches |
Videos not working even with both switches disabled |
@snow-frog any evidence? |
It might take a forced reload, it didn't work for me either initially which is why I didn't assume this to be the issue. |
Forced reloads, browser restart, everything. gwarser is my word not enough for you? I can confirm that disabling umatrix solves the problem and that both spoof switches are OFF. |
Something else is interfering then on your end, another extension probably. Facebook videos play as long as I disable referrer spoofing on facebook.
It's not about word, if it's an issue, providing more than word i. e. steps to reproduce, helps to be able to reproduce, to verify. |
Sorry, perhaps "evidence" is not correct in this context. We just need more data. |
We just need more words with useful information from you. What does the logger say when you hard force reload the page which contains the video? |
Alright, no worries, sorry. Logger says a whole lot of things but nothing recognizable in particular
|
Can confirm that it's not privacybadger, decentraleyes, HTTPEverywhere, Adnausam or noscript causing the problem; only uMatrix. |
Where does it happen specifically ? link to facebook video ? |
Any video. When they would usually play automatically, they don't; and clicking on them brings you to their main "player" page, again it does not autoplay, and clicking on the video to play it does something like reload the frame whitout playing. |
Disable all your extensions except uMatrix and try again. If that doesn't help, reset your uMatrix's settings to default and then add Without a specific video URL, I can only guess and suggest, you will have to investigate on your own to see what's causing this. |
Provide the information when asked please. I am not a Facebook user and by not providing an actual link you are telling me to spend time to go find one myself, something you should be providing to save time for all. Beside, this is basic debugging step: try to reproduce exactly the issue you are having, and an exact URL is a key step so that we test the same thing. |
@snow-frog this one from OP is working? https://www.facebook.com/nos/videos/2241787655836780/ |
I couldn't reproduce and I still can't reproduce using above link after unblocking what was needed -- that video plays just fine. Also using Decentraleyes. @snow-frog didn't provide any information about browser, version numbers, what exactly are his symptoms, or how exactly did he ascertained that the issue does not lie with any of the other blockers (it's easy to come to the wrong conclusion when not ruling out methodically), etc. Given how things are going here, I am quite convinced his issue is elsewhere than with uMatrix. |
Sorry, i just assumed you were a facebook user. |
Issue identified |
So the flag was specifically enabled for the www.facebook.com scope (press the www in the above screenshot to see the current rules for the current subdomain) |
Remove that and commit that change. |
Oh my god, the scopes. I never knew that was there at all. |
I suggest you read over the Per-Scope switches and Scope Selector before messing with switches again. |
Solution
Disable the "Spoof Referer header" flag:
Prerequisites
The only somewhat related issue I could find in the old tracker is 3 years old so that's probably unrelated: gorhill/uMatrix#369
I have the issue both on Windows and OS X in Chrome 66.0.3359.181 with a fresh browser profile.
Description
When uMatrix is enabled (even when all rules are disabled) all facebook videos stop playing for me.
A specific URL where the issue occurs
https://www.facebook.com/nos/videos/2241787655836780/
Steps to Reproduce
Supporting evidence
The only thing that works is disabling umatrix completely
Your environment
The text was updated successfully, but these errors were encountered: