An external video
A video from a video service on a landing page.
Life cycle: Build, example 17 of 35. Worked out on the Fit & Healthy site of Exponential 6.0.15+.
Contents
In the Layouts editor
- Open Layouts > Layouts and the layout Landing Page / Home; the editor opens it in a draft.
- Open the block palette (+ at the top left) and drag External video (group Basic) into the zone
main. - Select the block, open the Design tab and fill Video URL or embed src, Width (px or %) (default 100%), Height (px) (default 360) and Autoplay.
- Publish layout. The pages that use the layout show the block on their next view.
The site has a video section (Video, node 164) with NG Video content; to show those, use a List block with a collection instead.
With templates
- Show a video content item with its own view, so the site's video consent handling applies; the theme loads
exp-youtube-consent.cssfor that.
Which to choose
A one-off video: the block. Videos that are content (with titles, descriptions, search): NG Video items.
Check
- The video starts only when the visitor asks, unless Autoplay is set.
Related pages
- Manual and dynamic collections
- Build examples, every page
- Free documentation: this page is free to copy, translate and improve under the GNU FDL 1.3.
Become an Exponential Partner
Partners share their information, provide funding, contribute back and develop the products with us, and that is how Exponential grows. A partner website and dashboard are planned for mid-2027: please become a partner today to speed up our growth rate and land new features faster.