Greasy Fork is available in English.

Stop Overzealous Embedding

Tries to turn embedded Youtube videos into links

< Commentaires sur Stop Overzealous Embedding

Question / commentaire

1
§
Posté le: 2020-05-01

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 BehanAuteur
§
Posté le: 2020-05-16

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.

Poster une réponse

Connectez-vous pour poster une réponse.