Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Instagram videos won't play [solved: 1603: network.http.referer.XOriginPolicy] #1184

Closed
eleius opened this issue Jun 4, 2021 · 8 comments
Closed
Labels

Comments

@eleius
Copy link
Contributor

eleius commented Jun 4, 2021

I've been using the arkenfox user.js for months, and I was able to see instagram videos by clicking on them (as autoplay is disabled). Now, nothing happens.

I'm using Firefox 89.0 64-bit on Linux. Just to be sure it wasn't an addon issue, I created a new Firefox profile and was able to see the videos. Then I closed Firefox, added the current arkenfox user.js and videos stopped working.

I searched for "instagram" in the user.js and in the github issues but didn't find anything relevant.

@rusty-snake
Copy link
Contributor

Did you try that?

user.js/user.js

Line 932 in b6d7b2b

* [NOTE] If you have trouble with some video sites, then add an exception (see 2030)

@eleius
Copy link
Contributor Author

eleius commented Jun 4, 2021

Just tried it, but it doesn't seem to work. I guess the issues is not with autoplay.

@rusty-snake
Copy link
Contributor

Hmm, you can troubleshoot this but I don't have any specific idea nor can I really test this (without account).

@Thorin-Oakenpants
Copy link
Contributor

Thorin-Oakenpants commented Jun 4, 2021

I can't test either if it requires an account. But I'm confused

I've been using the arkenfox user.js for months, and I was able to see instagram videos by clicking on them (as autoplay is disabled). Now, nothing happens.

If you've been using the user.js for months and it worked .. well, we haven't done anything different as such ... so did the problem happen when you updated to 89? Is there something blocking it in the blue ETP shield?

Edit: when you click to play, are there any messages in the console?

@eleius
Copy link
Contributor Author

eleius commented Jun 5, 2021

so did the problem happen when you updated to 89? Is there something blocking it in the blue ETP shield?

I think it started a few weeks before 89. As for settings, Autoplay was set on "Block audio and video", but changing to Allow doesn't make any difference. Also, Enhanced tracking protection was enabled, tried disabling it, no difference.

when you click to play, are there any messages in the console?

I tested with and without user.js, no particular message in the console even if I click one of those videos.

I noticed the problem happens for Instagram videos that have the "play" (triangle) icon, but there are also other videos with the "tv" icon (don't know what they're called) and those work fine.

Also, if I use https://www.picuki.com (an online instagram viewer that doesn't require an account) I can see those videos. So maybe Instagram just changed their player code?

@Thorin-Oakenpants
Copy link
Contributor

sounds like something changed on their end (and reflects in the user.js), and the only way to find the pref culprit(s) is to troubleshoot - using a binary method works well: using your vanilla profile, add half the user.js .. test, if it works, add the next quarter .. etc

There's only going to be so many likely culprits

  • ETP: just test disabling off for that site + reload (which you tried)
  • autoplay settings: try an exception (which you tried)
  • 1603+1604 is common for causing third party blocks: IDK what the source of the vid is (3rd party cdn or what?)
  • video: DRM (you should have seen a DRM prompt, so I don't think this is it)
  • RFP: you never know (and canvas icon in the urlbar, try allowing a RFP canvas site exception)
  • 2302: service worker?

@eleius
Copy link
Contributor Author

eleius commented Jun 5, 2021

1603+1604 is common for causing third party blocks: IDK what the source of the vid is (3rd party cdn or what?)

Found it! XOriginPolicy must be 0 (not 2, not 1), then it works. It doesn't seem to care about 1604, nor about RFP or service workers.

@Thorin-Oakenpants Thorin-Oakenpants changed the title Instagram videos won't play Instagram videos won't play [solved: 1603: network.http.referer.XOriginPolicy] Jun 5, 2021
@Thorin-Oakenpants
Copy link
Contributor

thanks for testing and getting the exact cause.

added it as a specific item to check in the readme header

       * While not 100% definitive, search for "[SETUP" tags
         e.g. third party images/videos not loading on some sites? check 1603

and wiki

We hardened cross origin referers (1603, 1604)

  • ⭐ This may cause breakage where third party images and videos may not load
  • Change to suit and consider installing an extension

anyway, I added instagram in the user.js so at least searching for it shows up .. can't hurt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

3 participants