Cover video - initial transplant

Transplanted cover video feature from fork of @thomasjungblut and adapted to latest hugo scroll code

Co-Authored-By: Thomas Jungblut <thomas.jungblut@gmail.com>
This commit is contained in:
Zdenek K 2023-04-05 21:34:45 +02:00
parent 20549022f5
commit 6f7f95f181
5 changed files with 59 additions and 3 deletions

View file

@ -0,0 +1,14 @@
<!-- A partial to be overwritten by the user.
Simply place a custom_head_video.html into
your local /layouts/partials-directory.
Its content will appear after the site-head/vertical section.
This can be used to inject a video as an alternative background.
Full example below: -->
<!--
<video class="background-video" id="background-video" playsinline="" autoplay="true" muted="" loop="" poster="some_poster_jpg">
<source src="some_webm_video" type="video/webm">
<source src="some_mp4_video" type="video/mp4">
<source src="some_mov_video" type="video/mov">
</video>
-->