mirror of
https://github.com/ad1217/PrinterStatus
synced 2024-11-14 12:13:48 -05:00
Constrain video aspect ratio on client instead of resizing on server
This commit is contained in:
parent
7e8583f8ed
commit
a6a097a7f7
@ -36,8 +36,6 @@ function start_ffmpeg(
|
|||||||
])
|
])
|
||||||
.noAudio()
|
.noAudio()
|
||||||
.videoCodec('libx264')
|
.videoCodec('libx264')
|
||||||
.size('640x480')
|
|
||||||
.autopad()
|
|
||||||
.videoFilter('hqdn3d')
|
.videoFilter('hqdn3d')
|
||||||
.videoFilters(transforms)
|
.videoFilters(transforms)
|
||||||
.format('mp4')
|
.format('mp4')
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
</h3>
|
</h3>
|
||||||
<video-js
|
<video-js
|
||||||
ref="video"
|
ref="video"
|
||||||
class="card-img vjs-fluid"
|
class="card-img vjs-4-3"
|
||||||
controls
|
controls
|
||||||
autoplay
|
autoplay
|
||||||
muted
|
muted
|
||||||
|
Loading…
Reference in New Issue
Block a user