◆ [Date updated: 2023/02/21(Tue) 14:33:40]
■I blocked youtube embeds, now my Strange World is fast again ヽ(´∇`)ノ
│
└■Assalamualaikum,
│
│make that clientside anyway. Have the JS fetch the thumbnail and then
│make clicking the thumbnail replace it with the actual video embed.
│This will also significantly speed up load times. But maybe only allow
│one embed per post while leaving the rest as links. A fun way to troll
│sites that allow for a large number of links, is embed as many youtube
│videos as possible. This crashes some browsers or prevents pages from
│loading if they just use the native youtube embed JS. (・∀・)
│
│There are many good free examples of how to do this, I just randomly
│grabbed a top google result.
│
│https://www.the-art-of-web.com/javascript/youtube-video-embed-player/
│
└■It would be easier to just disable the embeds ヽ(´ー`)ノ
│
└■Why settle for less when doing The Right Thing®️ is trivial?
Return