toeverything / AFFiNE

There can be more than Notion and Miro. AFFiNE(pronounced [ə‘fain]) is a next-gen knowledge base that brings planning, sorting and creating all together. Privacy first, open-source, customizable and ready to use.
https://affine.pro
Other
40.36k stars 2.59k forks source link

​Improve youtube embed #7448

Open eikaramba opened 2 months ago

eikaramba commented 2 months ago

Description

I stumpled accors this investigation about that youtube embeds are incredible heavy (3mb EACH) slowing down sides. i always suspected this because i make use of youtube embeds on affine quite a lot. so one idea would be to use a lighter alternative instead of the native embedding to speed up those embeddings.

https://frontendmasters.com/blog/youtube-embeds-are-bananas-heavy-and-its-fixable/

Use case

increase speed/loading of pages with lot of youtube embeddings

Anything else?

No response

Are you willing to submit a PR?

affine-issue-bot[bot] commented 2 months ago

Issue Status: 🆕 *Untriaged

*🆕 Untriaged**

The team has not yet reviewed the issue. We usually do it within one business day. Docs: https://github.com/toeverything/AFFiNE/blob/canary/docs/issue-triaging.md

This is an automatic reply by the bot.