feat(VideoContainer) add option to avoid cropping focused video

This commit is contained in:
adam j hartz
2021-08-26 05:23:19 -04:00
committed by GitHub
parent cf6d6f8a12
commit 70b369a1af
2 changed files with 10 additions and 2 deletions

View File

@@ -224,7 +224,8 @@ var interfaceConfig = {
// Determines how the video would fit the screen. 'both' would fit the whole
// screen, 'height' would fit the original video height to the height of the
// screen, 'width' would fit the original video width to the width of the
// screen respecting ratio.
// screen respecting ratio, 'nocrop' would make the video as large as
// possible and preserve aspect ratio without cropping.
VIDEO_LAYOUT_FIT: 'both',
/**