Hi
I am new to kirby and I am playing around with the oembed plugin to create a full screen video page and a portfolio.
I love it already and so far I managed to create the according template fields for selecting and previewing the embedded file in the backend and to get my template to display the cover of the vimeo video. But only the cover with an empty link, but no video and no clue why it doesn´t work. Maybe someone can point me to the right direction?
I am using <?php echo $page->featured_video()->oembed() ?> in the template file.
I am also trying to use the autoplay and other functions from the backend or a
’ play on reveal’ function / when a video appears in the viewport and stops, when it leaves the viewport.
Here I am also stuck a bit, maybe one of you has some suggestions.
I think Kirby is a great CMS to achieve a similar functionality of longform story telling platforms like Atavist, or Aesop Story engine for wordpress, or Pageflow etc. but much easier and flexible.
title: Fullscreen Intro
pages: true
files: true
fields:
title:
label: Title
type: text
video-title:
label: Video title
type: text
description:
label: Video description
type: text
story:
label: Video links to
type: url
featured_video:
label: Featured video
type: oembed
preview: true
info: true
cheatsheet: true
height: 250px
autoplay:
label: Autoplay
type: checkbox
text: Autoplay Video?