Skip to content

EmbedAudioComponent

Unofficial

A component that renders an embedded audio file.

Import:

import type { EmbedAudioComponent } from '@obsidian-typings/obsidian-catalyst-latest';

Signature:

export interface EmbedAudioComponent extends EmbedComponent

Extends: EmbedComponent

Methods

MethodReturnsDescription
loadFile()Promise<void> | voidLoad the file into the component.

Obsidian awaits the returned promise as part of the render, and most built-in embeds load asynchronously.
(Inherited from EmbedComponent)

Links to this page: