diff --git a/src/canvas/view/CanvasView.js b/src/canvas/view/CanvasView.js
index 1b8a58cda..d896a756a 100644
--- a/src/canvas/view/CanvasView.js
+++ b/src/canvas/view/CanvasView.js
@@ -440,7 +440,7 @@ export default Backbone.View.extend({
const id = model.getId();
if (!view.scriptContainer) {
- view.scriptContainer = $(`
`);
+ view.scriptContainer = $(`
`);
this.getJsContainer().appendChild(view.scriptContainer.get(0));
}
diff --git a/src/dom_components/model/ComponentVideo.js b/src/dom_components/model/ComponentVideo.js
index 955c2de64..e1c6e42b8 100644
--- a/src/dom_components/model/ComponentVideo.js
+++ b/src/dom_components/model/ComponentVideo.js
@@ -182,8 +182,8 @@ export default Component.extend(
{
label: 'Poster',
name: 'poster',
- placeholder: 'eg. ./media/image.jpg',
- changeProp: 1
+ placeholder: 'eg. ./media/image.jpg'
+ // changeProp: 1
},
this.getAutoplayTrait(),
this.getLoopTrait(),
diff --git a/src/style_manager/model/PropertyInteger.js b/src/style_manager/model/PropertyInteger.js
index ff16de43f..513cf1a21 100644
--- a/src/style_manager/model/PropertyInteger.js
+++ b/src/style_manager/model/PropertyInteger.js
@@ -21,7 +21,8 @@ export default Property.extend({
max: ''
},
- init() {
+ initialize(props = {}, opts = {}) {
+ Property.callParentInit(Property, this, props, opts);
const unit = this.get('unit');
const units = this.get('units');
this.input = new InputNumber({ model: this });
@@ -29,6 +30,7 @@ export default Property.extend({
if (units.length && !unit) {
this.set('unit', units[0]);
}
+ Property.callInit(this, props, opts);
},
clearValue(opts = {}) {