Embed hosted video in Statamic with Antlers

Updated: December 1, 2026

You want to show a Dembed clip in a Statamic collection. Use a dedicated field for the embed URL and an iframe in the Antlers template. The Video field and embed_url modifier recognize particular providers. In this workflow you store the embed address supplied by Dembed.

Save the player address

Imagine an exercise collection with a 60-second clip on adjusting an easel. Upload the approved file to Dembed and wait until it is ready. In Embed, take the HTTPS /embed/ address from src. Add a Text field called video_embed to the entry blueprint and put the address there. Restrict the field to authorized editors and addresses your site approves.

Use the field in the entry template

In the Antlers entry template, check that video_embed has a value. Use it for src and give the frame a descriptive title. Keep your site’s external-source policy and its validation of editor input. Save the separate /v/ watch link if you want to offer it to readers who cannot use the player.

Say in the field instructions that it expects an embed URL and show an example of the /embed/ path. If an editor stored a /v/ address, check that field before changing the template. The watch page and the frame use different destinations. Before applying the template across the collection, check an entry that already used another provider. If it keeps its Video field, verify that the new dedicated field does not change its player. Record which entries use each workflow.

Check entries with and without video

Open a published entry with the field filled in. Make sure it loads the right clip and fits the column on a phone. Open another entry without a video and check that the other content still appears with no empty frame.

Frequently asked questions

Use the src address from Embed directly here. Statamic’s embed_url documentation lists which services it converts.

You might also like

Host your videos for free and earn from every view

Create your account in under a minute, upload your first video and start earning from day one.