Skip to content
● Meet Grav Guard: keep every Grav site you run secure and up to date, all from one place. Free for up to 3 sites. Read more →

How to Embed YouTube or .mp4 Video in Hero Section?

theme

Started by Mohamed Ghorab 1 year ago · 1 replies · 1724 views
1 year ago

Hi everyone,

I’m using Grav CMS and I’d like to embed a video (either from YouTube or a local .mp4 file) directly into the hero section of a page.
Is there a recommended way to achieve this? Should I use a specific plugin or modify the theme’s Twig templates?
Any guidance or examples would be greatly appreciated.
Thanks in advance!

Suggested topics

Topic Participants Replies Views Activity
Forms & Blueprints · by Anna, 2 days ago
2 51 15 hours ago
Forms & Blueprints · by Anna, 3 days ago
7 81 15 hours ago
Forms & Blueprints · by Anna, 1 week ago
5 185 6 days ago
Forms & Blueprints · by TomW, 1 month ago
3 377 1 month ago
Forms & Blueprints · by Japhy, 2 months ago
2 593 2 months ago