Skip to content

Commit

Permalink
fix(img): convert all images to new gen formats
Browse files Browse the repository at this point in the history
  • Loading branch information
noxilixon committed Aug 8, 2024
1 parent 2bcb132 commit 960f112
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion layouts/shortcodes/video.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<video class="video-shortcode" preload="{{ .Get "preload" }}" controls width="100%" poster="{{ absURL "videos" }}/{{ .Get "src" }}.png" src="{{ absURL "videos" }}/{{ .Get "src" }}.{{ .Get "default-format" }}">
<video class="video-shortcode" preload="{{ .Get "preload" }}" controls width="100%" poster="{{ absURL "videos" }}/{{ .Get "src" }}.webp" src="{{ absURL "videos" }}/{{ .Get "src" }}.{{ .Get "default-format" }}">
<source src="{{ absURL "videos" }}/{{ .Get "src" }}.webm" type="video/webm">
<source src="{{ absURL "videos" }}/{{ .Get "src" }}.mp4" type="video/mp4">
<source src="{{ absURL "videos" }}/{{ .Get "src" }}.ogv" type="video/ogg">
Expand Down
Binary file removed static/videos/freifunk-verbindet.png
Binary file not shown.
Binary file added static/videos/freifunk-verbindet.webp
Binary file not shown.

0 comments on commit 960f112

Please sign in to comment.