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 · 1581 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 TomW, 3 weeks ago
3 277 3 weeks ago
Forms & Blueprints · by Japhy, 1 month ago
2 526 1 month ago
Forms & Blueprints · by FrViPofm, 2 months ago
5 522 2 months ago
Forms & Blueprints · by Ton Haarmans, 6 years ago
13 2515 9 months ago
Forms & Blueprints · by Hugo Oliveira, 10 months ago
0 958 10 months ago