diff options
| author | Christophe Simonis <chs@odoo.com> | 2016-11-15 13:58:55 +0100 |
|---|---|---|
| committer | Christophe Simonis <chs@odoo.com> | 2016-11-15 13:58:55 +0100 |
| commit | dece72d010e23c88bdf5b2a1ace6ff0df2b2732f (patch) | |
| tree | f9fc12d1f2f5f51acca168854702f75e316e1f0b /addons/web_editor/static/src/js/widgets.js | |
| parent | 22d7be5b7397f9d9a811e071601a9ad07762dc55 (diff) | |
| parent | ca2003839a9abc3f76f48d2382d512a4546aeab1 (diff) | |
[MERGE] forward port branch saas-12 up to ca20038
Diffstat (limited to 'addons/web_editor/static/src/js/widgets.js')
| -rw-r--r-- | addons/web_editor/static/src/js/widgets.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/addons/web_editor/static/src/js/widgets.js b/addons/web_editor/static/src/js/widgets.js index 61ec1564ac5..d3ad1e6fbc8 100644 --- a/addons/web_editor/static/src/js/widgets.js +++ b/addons/web_editor/static/src/js/widgets.js @@ -812,7 +812,7 @@ function createVideoNode(url, options) { class: 'vine-embed' }); } else if (vimMatch && vimMatch[3].length) { - $video = $('<iframe webkitallowfullscreen mozallowfullscreen allowfullscreen>', { + $video = $('<iframe>', { src: '//player.vimeo.com/video/' + vimMatch[3], width: '640', height: '360' @@ -824,14 +824,14 @@ function createVideoNode(url, options) { height: '360' }); } else if (youkuMatch && youkuMatch[1].length) { - $video = $('<iframe webkitallowfullscreen mozallowfullscreen allowfullscreen>', { + $video = $('<iframe>', { height: '498', width: '510', src: '//player.youku.com/embed/' + youkuMatch[1] }); } else { // this is not a known video link. Now what, Cat? Now what? - $video = $('<iframe webkitallowfullscreen mozallowfullscreen allowfullscreen>', { + $video = $('<iframe>', { width: '640', height: '360', src: url |
