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

Iframe for video link saved as a entry

Started by Tor Mentor 4 years ago · 1 replies · 502 views
4 years ago

Hello, I am new to Grav and I was looking at the content option in the backend and what I miss is the ability to place a iframelink that is not in the content section but kust underneath the title. I have a template that uses images and/or a videolink above the content and not inside the content. but I want the ability to save it as a post with that iframelink. I hope I have made myself clear on explaining this, but just like the image separated from the content I would like to see the same for a iframe link and not alter it in the html file itself.

4 years ago

I embed some videos as iframes in my articles. I define the YouTube Video ID in the frontmatter of the article and I check if page.header.youtube is set within the template and if so, I embed the video.

I hope it helps.

Suggested topics

Topic Participants Replies Views Activity
General · by jean-louis67, 3 weeks ago
2 308 3 weeks ago
General · by Andy Miller, 3 weeks ago
0 311 3 weeks ago
General · by Veehem, 4 weeks ago
0 263 4 weeks ago
General · by milkboy, 4 weeks ago
0 265 4 weeks ago
General · by ian russell, 1 month ago
2 335 1 month ago