Embedding media from file properties

Hi everyone,

I am building a movie library atm and have properties for posters and links to trailers von Youtube. I am using bases to fill in the data. I’d really like to automatically insert the image file and the link in the properties into the note itself as an embed.

I hope you can tell me if this is even possible.

Thanks in advance!

What I’m trying to do

I want to pull text from a property and use it in an embed for videos, links or images

Things I have tried

I searched for “Obsidian embedding from text property” and tried to use dataview, so substitute the proper link like so:

![](`=this.Trailer`)

This was, what I was expecting to work, but all I get is “=this.Trailer” could not be found.

Given Dataview “inline queries” is enabled, and property Trailer contains a valid link…

put the full text of the embed into your query:

`="![](" + this.Trailer + ")"`

It works, thank you so much! You saved me a ton of work