From 1794320dcfdfcd19572fb1676294f9853a6bbc20 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Isma=C3=ABl=20Bouya?= Date: Mon, 4 Dec 2017 18:55:29 +0100 Subject: Update to 4.7.3 --- sources/plugins/html5video/dialogs/html5video.js | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) (limited to 'sources/plugins/html5video/dialogs') diff --git a/sources/plugins/html5video/dialogs/html5video.js b/sources/plugins/html5video/dialogs/html5video.js index 99f89c3..76799e7 100644 --- a/sources/plugins/html5video/dialogs/html5video.js +++ b/sources/plugins/html5video/dialogs/html5video.js @@ -40,6 +40,17 @@ } ] } ] }, + { + type: 'checkbox', + id: 'responsive', + label: editor.lang.html5video.responsive, + setup: function( widget ) { + this.setValue( widget.data.responsive ); + }, + commit: function( widget ) { + widget.setData( 'responsive', this.getValue()?'true':'' ); + } + }, { type: 'hbox', id: 'size', @@ -47,7 +58,6 @@ type: 'text', id: 'width', label: editor.lang.common.width, - 'default': 400, setup: function( widget ) { if ( widget.data.width ) { this.setValue( widget.data.width ); @@ -61,7 +71,6 @@ type: 'text', id: 'height', label: editor.lang.common.height, - 'default': 300, setup: function( widget ) { if ( widget.data.height ) { this.setValue( widget.data.height ); -- cgit v1.2.3