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 · 511 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 ready-4-IT, 5 months ago
1 512 2 days ago
General · by jean-louis67, 4 weeks ago
2 333 3 weeks ago
General · by Andy Miller, 4 weeks ago
0 328 4 weeks ago
General · by Veehem, 4 weeks ago
0 274 4 weeks ago
General · by milkboy, 1 month ago
0 285 1 month ago