7209. >Anonymous-san   User: Anonymous   Post date: 2023/02/21(Tue) 11:45:51          
> 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/

Reference: 2023/02/21(Tue) 05:29:18

Follow-up post (reply) ←Return

 
 
 

(Up to 200 columns and 180 lines. Please insert line breaks where appropriate. HTML/BBCode tags cannot be used.)