diff options
| author | Christophe Simonis <chs@odoo.com> | 2016-11-17 15:27:29 +0100 |
|---|---|---|
| committer | Christophe Simonis <chs@odoo.com> | 2016-11-17 15:27:29 +0100 |
| commit | e2fcace05e244bbf65da75680fe62c96eeb58455 (patch) | |
| tree | 738a2b396b4326ff92b2012dd4bc87c97b9ffb68 /addons/web_editor/static/src/js/widgets.js | |
| parent | 41cebc4637b7aa15fcf25229746bb252f9745d4e (diff) | |
| parent | 13dc7041a6b47bbcc703b855044f41321145c7ab (diff) | |
[MERGE] forward port branch 10.0 up to 13dc704
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 |
