Embedding audio in logseq

Hello beautiful people!

Is there any way to embed audio in a block like this?
image

If not, is it on the roadmap? :slight_smile:

This could be done today in Logseq with html, for example paste the following.

[:audio {:controls true :src "https://cdn.simplecast.com/audio/bdb43d4d-bd1d-4fbc-bd60-40f1e3299aa3/episodes/a6363455-0a0e-460f-8074-75f4f5e84775/audio/620d2586-389b-44c7-80ad-25703fd52094/default_tc.mp3"}]

You will see something like this:

However, I think the current UX is not good, since if you leave the page or edit the block, your play state will get reset.

3 Likes

awesome! thanks. This is exactly what I needed.

1 Like

If I have something like assets/recording.mp3 in my local logseq folder, how could I embed it using this syntax?