Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add basic templates for video galleries #87

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

fagaillard
Copy link

Hello,

I have created some basic templates for managing video galleries in addition to image galleries. it's just a basic prof of concept and I'm sure you can improve it.

to create a video gallery you need to add the type "video" in the front matter of that gallery like :

title: Riding woman video
description: Videos a girls riding Animals.
type: video
keywords: ["AI", "AI-generated", "video", "gallery"]
tags:

  • video
  • girl
  • animals

_build:
publishResources: false

A demo is available on one of my website : https://www.tensor-art.com/videos/

I have included a simple basic shell script ( video_thumbnails.sh ) to help create thumbnails for the video with ffmpeg, because I did not find a way to do it natively with Hugo.

I hope you will find it interesting.

Kind regards

--Fabrice Gaillard

@eskopp
Copy link

eskopp commented Sep 30, 2024

In your example, there are only landscape format videos. Does this also work with portrait format videos?

@fagaillard
Copy link
Author

fagaillard commented Oct 1, 2024 via email

@eskopp
Copy link

eskopp commented Oct 1, 2024

Hi @fagaillard,
Personally, I think your change is great. May I use it in my own project?

@fagaillard
Copy link
Author

fagaillard commented Oct 1, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants