Add video
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Pim van Pelt
2024-07-28 23:02:11 +02:00
parent 97de639bcc
commit 9e566171e4
2 changed files with 11 additions and 0 deletions

View File

@ -1,3 +1,12 @@
The files in this directory are not meant to be tracked in git.ipng.ch.
Instead, they should be added to media.ipng.ch/sabbatical/media/
and then pushed to the nginx0.*.ipng.ch cluster.
After pushing, you can use tags like this, both in the staging and in
the production environment:
{{< video src="https://sabbatical.ipng.nl/media/vdo/IMG_0406.MOV" type="video/mp4" preload="auto" >}}
Note: the production environment does not allow resources to be loaded
outside of the domain itself for security reasons, but `hugo serve` is
not as strict.