Skip to content

Conversation

@lfzawacki
Copy link
Contributor

@lfzawacki lfzawacki commented Sep 29, 2025

For a few week now something changed on youtube's side when it comes to embedding videos. This commit makes anytype embed videos using the youtube-nocookie.com domain and adds a missing iframe parameters to properly render embeds inside of anytype's interface.


  • I understand that contributing to this repository will require me to agree with the CLA

Description

What type of PR is this? (check all applicable)

  • 🍕 Feature
  • 🐛 Bug Fix
  • 📝 Documentation Update
  • 🎨 Style
  • 🧑‍💻 Code Refactor
  • 🔥 Performance Improvements
  • ✅ Test
  • 🤖 Build
  • 🔁 CI

Related Tickets & Documents

Users that have been hitting this bug have posted on reddit: https://www.reddit.com/r/Anytype/comments/1n6tuvn/getting_youtube_error_153_when_embedding_videos/

Mobile & Desktop Screenshots/Recordings

Added tests?

  • 👍 yes
  • 🙅 no, because they aren't needed
  • 🙋 no, because I need help

This is my first contribution and to be honest I don't know how I'd test this change or if the project has tests for embeds. So If tests are necessary please point me to the right direction.

Added to documentation?

  • 📜 README.md
  • 📓 tech-docs
  • 🙅 no documentation needed

[optional] Are there any post-deployment tasks we need to perform?

For a few week now something changed on youtube's side when it comes to embedding videos.
This commit makes anytype embed videos using the youtube-nocookie.com domain and adds a
missing iframe parameters to properly render embeds inside of anytype's interface.
@github-actions
Copy link

github-actions bot commented Sep 29, 2025

CLA Assistant Lite bot All contributors have signed the CLA ✍️ ✅

@ra3orblade
Copy link
Contributor

Hello, thanks, I will check this after the release.

@lfzawacki
Copy link
Contributor Author

I have read the CLA Document and I hereby sign the CLA

@ra3orblade ra3orblade merged commit e031414 into anyproto:main Oct 2, 2025
3 of 4 checks passed
@github-actions github-actions bot locked and limited conversation to collaborators Oct 2, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants