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

YouTube iframe content shows as blocked when using "-nocookie" in the YouTube URL in a project's description tab. #901

Closed
RiccardOliveri opened this issue Nov 23, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@RiccardOliveri
Copy link

Describe the bug

Whenever using "-nocookie" in a YouTube iframe (i.e. www .youtube-nocookie.com/embed/XXXXXXXXXXX) the actual video won't show and instead an error image will be shown (attached screenshot).
Upon hovering over said image, the following text appears: "This content is blocked. Contact the site owner to fix the issue".
Removing -nocookie from the YouTube URL in the iframe makes it work as intended, but that's not a proper solution.
Youtube iframes work properly in the website, the issue seems to only happen in Theseus.

Steps to reproduce

  1. Create / Edit a project;
  2. Modify the project's description;
  3. Copy-paste the YouTube iframe example from Modrinth Docs into the project's description;
  4. Replace "REPLACE_THIS_TEXT_HERE" with the 11-character code that follows "/watch?v=" of a public YouTube video;
  5. Save changes then find the project in the "Browse" section of Theseus;
  6. Go to the project's description to see the YouTube iframe displaying the error.

Expected behavior

I expected the video in the project's description to be shown and work as it does in the project's page on the Modrinth website, since they're using the same exact lines of text.

System information

OS: Windows 11 23H2
App version: Theseus v0.6.2

Additional context

-nocookie issue

@RiccardOliveri RiccardOliveri added the bug Something isn't working label Nov 23, 2023
@RiccardOliveri RiccardOliveri changed the title YouTube iframe content shows as blocked when using "-nocookie" in the YouTube URL in a project's description tab. YouTube iframe content shows as blocked when using "-nocookie" in the YouTube URL Nov 23, 2023
@RiccardOliveri RiccardOliveri changed the title YouTube iframe content shows as blocked when using "-nocookie" in the YouTube URL YouTube iframe content shows as blocked when using "-nocookie" in the YouTube URL in a project's description tab. Nov 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Development

No branches or pull requests

1 participant