Skip to content
Grav 2.0 is officially stable. Read the announcement →

Community guidelines

Please keep discussions civil and on-topic. Repeated violations may lead to a temporary ban.

Support

Display video uploaded to Grav, please advise

Started by binary.koala 2 years ago · 1 replies · 154 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 Thomas, 1 week ago
2 51 8 hours ago
Support · by Anna, 2 days ago
2 58 10 hours ago
Support · by Justin Young, 11 hours ago
1 30 11 hours ago
Support · by Duc , 1 week ago
2 63 5 days ago
Support · by Colin Hume, 1 week ago
2 55 5 days ago