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 →

Display video uploaded to Grav, please advise

Started by binary.koala 2 years ago · 1 replies · 626 views
2 years ago

Hi, I'm looking to be able to upload mp4 video to Grav and be able to use partials or loop over video files by tag or else, just the same way we do it for images

So far most of my searches resulted in people looking to ember Youtube.
How do you go about hosting your own videos with Grav?

Many thanks!

2 years ago

Upload happens as any other type of media and it's available also as any other page media. When you have a single media instance, try in twig media.page_media. This I think renders appropriate tag in html

Suggested topics

Topic Participants Replies Views Activity
Support · by TomW, 2 weeks ago
8 227 9 hours ago
Support · by alex, 2 months ago
8 667 23 hours ago
Support · by Supple, 5 days ago
1 98 1 day ago
Support · by TomW, 1 week ago
3 159 3 days ago
Support · by TomW, 6 days ago
2 106 5 days ago