From e47e2a969de33de99952b33c25415b41132265d6 Mon Sep 17 00:00:00 2001 From: Hampton Maxwell Date: Tue, 29 May 2018 16:22:46 -0700 Subject: [PATCH] Maintain default poster resize mode Set contain as the default mode when not specified --- Video.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Video.js b/Video.js index ed55b7fc..a6c04ed5 100644 --- a/Video.js +++ b/Video.js @@ -217,6 +217,7 @@ export default class Video extends Component { top: 0, right: 0, bottom: 0, + resizeMode: this.props.posterResizeMode || 'contain' }; return ( @@ -228,7 +229,6 @@ export default class Video extends Component { );