]> git.immae.eu Git - perso/Immae/Projets/packagist/ludivine-ckeditor-component.git/blobdiff - sources/plugins/html5video/dialogs/html5video.js
Update to 4.7.3
[perso/Immae/Projets/packagist/ludivine-ckeditor-component.git] / sources / plugins / html5video / dialogs / html5video.js
index 99f89c365314f23259fd59b15cb101eb94bf9540..76799e7744529d52d99a41bc0c45816b31eea052 100644 (file)
                     } ]\r
                 } ]\r
             },\r
+            {\r
+                type: 'checkbox',\r
+                id: 'responsive',\r
+                label: editor.lang.html5video.responsive,\r
+                setup: function( widget ) {\r
+                    this.setValue( widget.data.responsive );\r
+                },\r
+                commit: function( widget ) {\r
+                    widget.setData( 'responsive', this.getValue()?'true':'' );\r
+                }\r
+            },\r
             {\r
                 type: 'hbox',\r
                 id: 'size',\r
@@ -47,7 +58,6 @@
                     type: 'text',\r
                     id: 'width',\r
                     label: editor.lang.common.width,\r
-                    'default': 400,\r
                     setup: function( widget ) {\r
                         if ( widget.data.width ) {\r
                             this.setValue( widget.data.width );\r
@@ -61,7 +71,6 @@
                     type: 'text',\r
                     id: 'height',\r
                     label: editor.lang.common.height,\r
-                    'default': 300,\r
                     setup: function( widget ) {\r
                         if ( widget.data.height ) {\r
                             this.setValue( widget.data.height );\r