2
0
mirror of https://github.com/ad1217/PrinterStatus synced 2024-11-21 15:03:48 -05:00

Constrain video aspect ratio on client instead of resizing on server

This commit is contained in:
Adam Goldsmith 2023-01-12 01:47:46 -05:00
parent 7e8583f8ed
commit a6a097a7f7
2 changed files with 1 additions and 3 deletions

View File

@ -36,8 +36,6 @@ function start_ffmpeg(
])
.noAudio()
.videoCodec('libx264')
.size('640x480')
.autopad()
.videoFilter('hqdn3d')
.videoFilters(transforms)
.format('mp4')

View File

@ -5,7 +5,7 @@
</h3>
<video-js
ref="video"
class="card-img vjs-fluid"
class="card-img vjs-4-3"
controls
autoplay
muted