Audio Embed has extra height

Steps to reproduce

Just create an audio recording using the audio plugin

Expected result

An audio embed is created that takes up a minimal amount of space

Actual result

An html <video> element is created and always has a height of 150px which leaves a large blank space above the controls

Environment

  • Operating system: OS X Catalina
  • Obsidian version: 0.7.6

Thought it would be an easy fix, but turned out it’s not easy.

Chromium only lets us record in .webm format, which is a container format for both video and audio. Unlike .ogg where .ogv is usually used for videos, for .webm there’s no way to distinguish them.

If anyone has good ideas on how to fix this, please let us know, really appreciate it!