From a15070d478f5954ede7786b285356814900c0eb5 Mon Sep 17 00:00:00 2001 From: Hadi Nategh Date: Wed, 4 Jan 2017 11:57:31 +0100 Subject: [PATCH] Add src attribute as an option to iframe widget --- api/js/etemplate/et2_widget_iframe.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/api/js/etemplate/et2_widget_iframe.js b/api/js/etemplate/et2_widget_iframe.js index 45ea7e6479..3ad3b51446 100644 --- a/api/js/etemplate/et2_widget_iframe.js +++ b/api/js/etemplate/et2_widget_iframe.js @@ -49,6 +49,12 @@ var et2_iframe = (function(){ "use strict"; return et2_valueWidget.extend( "default": false, description: "Make the iframe compatible to be a fullscreen video player mode", type: "boolean" + }, + src: { + name: "Source", + "default": "", + description: "Specifies URL for the iframe", + type: "string" } },