Adding "|width" to video link, does not resize the video

Steps to reproduce

Add .mov or mp4 video into the note. Add | width to any video link to resize it. It will add “width” to the html element but wont actually resize the video.

Did you follow the [troubleshooting guide]


Expected result

Depending on Syntax used |width or |widthxheight, the width and height should get applied to both elements: “internal-embed media-embed video-embed is-loaded” and “video”, then video will get resized same as image links.

Actual result

But currently it only applies sizing to 1 element and thus video links cannot be resized same way as images.


Obsidian version: v1.4.16
Installer version: v1.4.13
Operating system: Windows 10 Enterprise 10.0.22621
Login status: not logged in
Insider build toggle: off
Live preview: on
Legacy editor: off
Base theme: light
Community theme: none
Snippets enabled: 0
Restricted mode: off
Plugins installed: 7
Plugins enabled: 1
1: Second Window v1.1.0

Additional information

1 Like

Looks like the feature request is here:

But Obsidian seems to already have 50% of this feature, it just needs to be patched. It already recognises the syntax inside video links ![[|width]] and it auto updates html elements - it just needs to update another html element too, just like it does for images.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.