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

Videos on The Guardian won't play #158

Open
bertvandepoel opened this issue Dec 2, 2021 · 3 comments
Open

Videos on The Guardian won't play #158

bertvandepoel opened this issue Dec 2, 2021 · 3 comments
Labels
broken page bug Something isn't working NLNet project evaluation phase This issue should be evaluated during the evaluation phase of the JSR NLNet project

Comments

@bertvandepoel
Copy link

I've been noticing more and more issues where clicking on a video on The Guardian articles results in nothing happening. I thought this was due to issues with my cookie settings or due to uBlock Origin, but now I've tested on https://www.theguardian.com/world/2021/dec/01/eu-must-consider-mandatory-covid-jabs-says-von-der-leyen and there the video starts working when I set Javascript Restrictor to 0.

I'm not exactly sure what is causing these issues, but if it's caused by Javascript that's part of The Guardian's website, we could file a bug with them on https://github.com/guardian/frontend perhaps? I'm not too sure how to investigate this issue though.

@polcak
Copy link
Owner

polcak commented Dec 14, 2021

I'm not too sure how to investigate this issue though.

Are there any errors in JS console (see developer tools in your browser)?

You can also build from source https://polcak.github.io/jsrestrictor/build.html (use make debug) but it will probably not help and overload you with debug informaion.

@bertvandepoel
Copy link
Author

I don't get any specific errors when pressing on play on the video, so that makes it hard to narrow down. I do get a bunch of console errors when loading the page that are only there when using jsrestrictor (when using jsrestrictor at level 0, I just get a Uncaught (in promise) TypeError: window.resize is not a function and Error: Promised response from onMessage listener went out of scope but nothing more except when I press play which causes certain privacy blocks by uBlock CORS). These errors include the usual TypeError: 'getGamepads' called on an object that does not implement interface Navigator. as well as Uncaught (in promise) Error: Permission denied to access object, BootReact @loadable/component - error: Error: Permission denied to access object, Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://app.getsentry.com/api/35463/store/?sentry_version=7&sentry_client=raven-js%2F3.27.2&sentry_key=344003a8d11c41d8800fbad8383fdc50. (Reason: CORS request did not succeed). (the getGamepads and permission denied to access object are repeated a ton). Does that vaguely help you? I would expect you would see the same thing if you visited that page and tried to play the video.

@polcak
Copy link
Owner

polcak commented Apr 22, 2022

I can play the videos in 0.9 but I see many Errors in the console. I opened https://pagure.io/JShelter/webextension/issue/55

@polcak polcak added bug Something isn't working NLNet project evaluation phase This issue should be evaluated during the evaluation phase of the JSR NLNet project labels Apr 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
broken page bug Something isn't working NLNet project evaluation phase This issue should be evaluated during the evaluation phase of the JSR NLNet project
Projects
None yet
Development

No branches or pull requests

2 participants