added webm responsiveness bach

This commit is contained in:
AHMZA
2021-12-25 02:45:13 +00:00
parent b43780daa2
commit 2bbb2ba9a4
+9
View File
@@ -1,5 +1,14 @@
<!--
<video autoplay loop muted playsinline aria-label='{{ .Get "label"}}'>
{{ with .Get "mp4" }}<source src="{{ . }}" type="video/mp4">{{ end }}
{{ with .Get "webm" }}<source src="{{ . }}" type="video/webm">{{ end }}
<p> Your browser does not support video. </p>
</video>
-->
<video autoplay loop muted playsinline aria-label='{{ .Get "label"}}' style="width: 100%; height: auto;">
{{ with .Get "mp4" }}<source src="{{ . }}" type="video/mp4">{{ end }}
{{ with .Get "webm" }}<source src="{{ . }}" type="video/webm">{{ end }}
<p> Your browser does not support video. </p>
</video>