From 1c943e413de43bc09aae432f68ddf5eea7d9bba4 Mon Sep 17 00:00:00 2001 From: Jean-Baptiste Motto Date: Thu, 29 Apr 2021 19:37:33 +0200 Subject: [PATCH] Add allowfullscreen param to web iframe 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 52f55a7..fb47e24 100644 --- a/tarteaucitron.services.js +++ b/tarteaucitron.services.js @@ -15,9 +15,10 @@ tarteaucitron.services.iframe = { var frame_title = tarteaucitron.fixSelfXSS(x.getAttribute("title")), width = x.getAttribute("width"), height = x.getAttribute("height"), + allowfullscreen = x.getAttribute("allowfullscreen"), url = x.getAttribute("data-url"); - return ''; + return ''; }); }, "fallback": function () {