diff options
| author | jvm-odoo <jvm@odoo.com> | 2020-06-18 07:42:33 +0000 |
|---|---|---|
| committer | jvm-odoo <jvm@odoo.com> | 2020-06-19 13:45:54 +0000 |
| commit | 8c5b47e8c3ed621a7ed81a8f951e5a414d6fa0da (patch) | |
| tree | bfae4f360681fe697c8019f9707532341ec69c46 /addons/web/static/src/js/views/basic/basic_controller.js | |
| parent | dd7d8cd43ae17d634b9f0dc07f78c88d39eb1008 (diff) | |
[FIX] website_slides: fix youtube URL params ignored
Issue
- Install website slides
- Create a slide with document url =
a youtube video URL with params like ?rel=0
- Check it on the website with debugger
The iframe url doesn't have ?rel=0
Cause
We only take the video ID and pass it
to a predefined string. We add light
theme params too.
Solution
Split the given url in order to
get the params and pass it to
the predefined string.
OPW-2275928
closes odoo/odoo#53334
X-original-commit: 5e8fcd3391525192f462cc44acd84d3badb4f132
Signed-off-by: Nicolas Lempereur (nle) <nle@odoo.com>
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions
