Reduce the height of portrait videos

This commit is contained in:
Michael 2024-03-05 21:25:00 +00:00
parent 3ad4ab2940
commit 31b92b16ed
2 changed files with 10 additions and 1 deletions

View file

@ -1,6 +1,6 @@
<div class="video-top-wrapper lframe" id="video-top-wrapper-{{$video.id}}">
{{* set preloading to none to lessen the load on the server *}}
<video src="{{$video.src}}" controls {{if $video.preview}}preload="none" poster="{{$video.preview}}" {else}preload="metadata" {{/if}}width="100%" height="auto">
<video src="{{$video.src}}" controls {{if $video.preview}}preload="none" poster="{{$video.preview}}" {else}preload="metadata" {{/if}}width="{{$video.width}}" height="{{$video.height}}">
<a href="{{$video.src}}">{{$video.name}}</a>
</video>