I’m trying to build a custom portfolio single template using Layout Builder, but I’m having problems pulling the video embed code that I’ve entered under Video Portfolio Item Settings.
I’ve created a new Single template and assigned all Portfolio items to the template:

Then added a Video element and set the embed code to: {{dc:post:meta key="_x_video_embed"}}

The portfolio items are using the correct layout, but I can’t seem to get the video embed code to work using the code above. Instead I just get a grey box. Am I missing a step?

