added webm responsiveness bach
This commit is contained in:
@@ -1,5 +1,14 @@
|
|||||||
|
<!--
|
||||||
<video autoplay loop muted playsinline aria-label='{{ .Get "label"}}'>
|
<video autoplay loop muted playsinline aria-label='{{ .Get "label"}}'>
|
||||||
{{ with .Get "mp4" }}<source src="{{ . }}" type="video/mp4">{{ end }}
|
{{ with .Get "mp4" }}<source src="{{ . }}" type="video/mp4">{{ end }}
|
||||||
{{ with .Get "webm" }}<source src="{{ . }}" type="video/webm">{{ end }}
|
{{ with .Get "webm" }}<source src="{{ . }}" type="video/webm">{{ end }}
|
||||||
<p> Your browser does not support video. </p>
|
<p> Your browser does not support video. </p>
|
||||||
</video>
|
</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>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user