Youtube Link : Video Size?

Operating system

Linux

Joplin version

3.7.10

What issue do you have?

Hi,
I recently see that Youtube videos are now embedded which is interesting and I noted this behaviour can be disabled.
My question is more about to control the size of the video/thumbnail cause on large monitors it takes all the width and the ratio makes notes very long.
I'm able to controle the size of an image but I cannot find the same for videos.
Do I miss something obvious ? Is there a easy way to do this ?
Thanks.

I'm also curious because yeah, the embed can be comically and obnoxiously large, making me want to avoid it entirely.

You can use CSS for this:

<style>
	.joplin-youtube-player-rendered {
	    width: 100%;
	    max-width: 100%;
	}
</style>

These are the default values which is what is causing it to max out the width.
I recommend changing the max-width. You can use many different dimensions, e.g. 400px, 25em, or 100mm. Here is a good list of units.

You can paste that code directly into your note in markdown, or add it to the stylesheet (without the style tags) to apply it to all notes.

Perfect. Thanks a lot :grinning_face: