From e52df90a875c182b5925b681fb6329889054ed9a Mon Sep 17 00:00:00 2001 From: Jean-Baptiste Motto Date: Thu, 29 Apr 2021 18:28:34 +0200 Subject: [PATCH] Add allowfullscreen param to youtube playlist service. Default value is allowed. --- tarteaucitron.services.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tarteaucitron.services.js b/tarteaucitron.services.js index a3e9f43..2e7573a 100644 --- a/tarteaucitron.services.js +++ b/tarteaucitron.services.js @@ -3336,6 +3336,7 @@ tarteaucitron.services.youtubeplaylist = { video_height = x.getAttribute("height"), frame_height = 'height=', video_frame, + allowfullscreen = x.getAttribute("allowfullscreen"), params = 'theme=' + x.getAttribute("theme") + '&rel=' + x.getAttribute("rel") + '&controls=' + x.getAttribute("controls") + '&showinfo=' + x.getAttribute("showinfo") + '&autoplay=' + x.getAttribute("autoplay") + '&mute=' + x.getAttribute("mute"); if (playlist_id === undefined) { @@ -3351,7 +3352,7 @@ tarteaucitron.services.youtubeplaylist = { } else { frame_height += '"" '; } - video_frame = ''; + video_frame = ''; return video_frame; }); },