Skip to content
Snippets Groups Projects
Commit c9bd6267 authored by jvm-odoo's avatar jvm-odoo
Browse files

[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#53195

Signed-off-by: default avatarNicolas Lempereur (nle) <nle@odoo.com>
parent dc7a4f11
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment