-
-
Notifications
You must be signed in to change notification settings - Fork 722
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
YouTube videos redirect during linkcheck #4203
Comments
I would like to work on this issue |
@SaiRev0 the @plone/documentation-team first needs to discuss and decide how to proceed. Once that decision is made, then you are welcome to work on it. @ksuess @polyester opinions? Meanwhile, have you signed the Plone Contributor Agreement and been able to build the docs locally? See https://6.docs.plone.org/contributing/index.html for details. Thank you! |
@stevepiercy I have filled and mailed the Agreement yesterday, but no response for it yet, and i have not setup it locally, so doing it now |
@stevepiercy Can you please explain the issue and What I have to do, Its a bit unclear |
I'm awaiting opinions of how to deal with this issue from the @plone/documentation-team. @polyester @ksuess I don't have enough experience with GDPR to have an informed opinion. |
looks like sphinxcontrib-youtube has an easy way of setting the 'privacy mode which is a nice thing to do. |
Nice. I also found the PR and noted that there is a Do Not Track mode for Vimeo, in case we need it. ```{eval-rst}
.. vimeo:: 73214621
:url_parameters: ?dnt=1
``` @SaiRev0 let's replace the links to the videos accordingly, and add this extension to Sphinx's This will also need to be applied to the main documentation repository. |
@MohdAnas07 @ShubhamKhati see my earlier comment.
See also: plone/documentation#1452 which will be incorporated into documentation soon by me. |
@polyester would you please test this, now that #6486 was merged? Visit: https://volto--6486.org.readthedocs.build/tutorials/index.html Compare to: https://6.docs.plone.org/volto/tutorials/index.html |
@ksuess @polyester I think this is now fixed. Can you run |
@stevepiercy currently not in the EU as well |
Running
|
Can I test something else? |
❯ make docs-linkcheckbroken got this Running make docs-linkcheckbroken from Hyderabad |
Oh, duh. My mistake, of course linkcheck won't check this directive, as there is no link for it to check. ```{youtube} kHec4MXH8vo
:privacy_mode:
:width: 100%
``` @ksuess, since you're in the EU, there are two things to check.
Thank you! |
I am not in the EU, but Switzerland. As I see the EU cookie consent popup when visiting youtube, it makes sense that I do the tests.
|
|
@ksuess thanks for the thorough testing and PR! |
Looks like a GDPR issue. I don't see redirects in the US.
We could add youtube to the list of ignored links, or just be aware of it. There is no open issue in Sphinx about GDPR compliance for linkcheck.
Alternatively we could embed the YouTube videos with https://github.com/sphinx-contrib/youtube, as suggested by executablebooks/sphinx-book-theme#354 (comment), which would remove the links.
Originally posted by @stevepiercy in #4181 (comment)
The text was updated successfully, but these errors were encountered: