Since I released a new version today, I thought it would be good to also finally create a forum post about this:
Using this plugin enables Kirby 2 CMS to display embeds of several media sites (e.g. YouTube, Vimeo, Soundcloud) by only providing the URL to the medium. The plugin also includes some options to reduce the site loading time by using lazy videos (thumbnail preview and embed is only loaded after click) as well as extensive caching.
Use it as a Kirbytag in your textarea field:
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
(oembed: https://www.youtube.com/watch?v=wZZ7oFKsKzY)
Hi @distantnative. Could you provide an example for the blueprint you used to achieve the Panel form above? Especially the Cover Image thingy is not clear to me. Thanks a lot, Moritz
There is a closing parenthesis missing at the end.
But in general it would be great if you posted which error you get. That makes it way easier to find the issue.
My apologies for not quoting the error - new at this.
I am no longer getting the error, however I have substituted working code (a test without the thumbnail which was working correctly just playing the video) with the code below and I now get just a white screen with the play button. No video plays. No thumbnail. Bear with me, please, I am getting there!
It’s been a while that I wrote this and sadly I have too little time to really maintain and support my plugins (apologies to all affected!)… But if I remember correctly, the thumbnail parameter should be the full URL. So does this work?
You have a fantastic memory! This now works and replaces the cover image perfectly.
Sadly the video will not load behind the image - if I go back and remove the lazyvideo set in the config file - i can get it to work without the cover image. Perhaps because my jquery on my site is an older version? I understand your time restraints, so I will use the plugin as is without the cover image feature. It certainly works that way so thank you.