Greasy Fork is available in English.

Stop Overzealous Embedding

Tries to turn embedded Youtube videos into links

< Feedback on Stop Overzealous Embedding

Question/comment

1
§
Posted: 1.5.2020

Request: collapse the video element

The space taken by the video elements is quite large and makes reading especially forum threads with a lot of embeds challenging.

Connor BehanAuthor
§
Posted: 16.5.2020

I don't know if the script can be smart enough to resize in all cases. If the video embedding is done with a single iframe that explicitly specifies width and height, then the space taken up will indeed be freed by the script --- it just deletes the iframe.

However, the video could be packed using nested iframes where only the outer one specifies the size. Or maybe it is inside a div that does this. Or maybe width and height are not attributes but inferred from a stylesheet.

Post reply

Sign in to post a reply.