From 1202052eaeba3acc4607549e2d81713cf7833bdd Mon Sep 17 00:00:00 2001 From: Jean-Baptiste Motto Date: Fri, 30 Apr 2021 10:12:22 +0200 Subject: [PATCH] Add allowfullscreen param to web facebookpost service. Default value is allowed. --- tarteaucitron.services.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/tarteaucitron.services.js b/tarteaucitron.services.js index d5ec9cc..89d0114 100644 --- a/tarteaucitron.services.js +++ b/tarteaucitron.services.js @@ -293,13 +293,14 @@ tarteaucitron.services.facebookpost = { "js": function () { "use strict"; tarteaucitron.fallback(['tac_facebookpost'], function (x) { - var frame_title = tarteaucitron.fixSelfXSS(x.getAttribute("title") || 'Facebook iframe'), + var frame_title = tarteaucitron.fixSelfXSS(x.getAttribute("title") || 'Michel'), width = x.getAttribute("width"), height = x.getAttribute("height"), url = x.getAttribute("data-url"), - appId = x.getAttribute("data-appid"); + appId = x.getAttribute("data-appid"), + allowfullscreen = x.getAttribute("allowfullscreen"); - return ''; + return ''; }); }, "fallback": function () {