7208.    User: Anonymous   Post date: 2023/02/21(Tue) 04:29:18          
I blocked youtube embeds, now my Strange World is fast again ヽ(´∇`)ノ

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

7211. >Anonymous-san   User: Anonymous   Post date: 2023/02/21(Tue) 12:07:38          
> > 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 ヽ(´ー`)ノ

Reference: 2023/02/21(Tue) 12:45:51

7216. >Anonymous-san   User: Anonymous   Post date: 2023/02/21(Tue) 14:33:40          
> > 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?

Reference: 2023/02/21(Tue) 13:07:38

4 posts found. ←Return