add basic templates for video galleries #87
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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:
_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