Signed-off-by: MTRNord <mtrnord1@gmail.com>
This commit is contained in:
MTRNord 2024-09-24 17:43:01 +02:00
parent c6eef7bad4
commit e237eb4269
No known key found for this signature in database
21 changed files with 2 additions and 0 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View file

@ -1,8 +1,10 @@
{%- set av1_filename = vid | regex_replace(pattern=`\..+`, rep=`.webm`) | replace(from='/blog/img/', to='/blog/img/av1/') -%}
{%- set vp9_filename = vid | regex_replace(pattern=`\..+`, rep=`.webm`) | replace(from='/blog/img/', to='/blog/img/vp9/') -%}
{%- set hevc_filename = vid | regex_replace(pattern=`\..+`, rep=`.mp4`) | replace(from='/blog/img/', to='/blog/img/hevc/') -%}
<figure>
<video controls preload="auto">
<source src="{{ av1_filename }}" type="video/webm">
<source src="{{ vp9_filename }}" type="video/webm">
<source src="{{ hevc_filename }}" type="video/mp4">
<source src="{{ vid }}" type="video/mp4">
Your browser does not support the video tag.