all-grid requires 2 custom-fields to be configured for the video urls:
- video_local eg. /files/video.mp4
- video_social eg. https://youtu.be/123
When mixing videos with article-images in a form, the display logic depends on context:
- forms/article/feature.txp on a list page will use a video field as an hero1 instead of any specified article-image.
- forms/article/feature.txp on a detail page will honour both video (as a hero2) and article-image fields (below the body copy).
- forms/article/default.txp on a detail page will honour both video3 and article-image fields, but the first article-image now enjoys hero status, with the video lower down on the page.
If both video fields have urls, video_local takes preference.
1 auto-playing, muted, no controls
2 auto-playing, muted, controls
3 controls