From 2452c5b924f287febc8ebaaa117336832e4faa08 Mon Sep 17 00:00:00 2001 From: Jean-Baptiste Motto Date: Fri, 30 Apr 2021 10:22:03 +0200 Subject: [PATCH] Add allowfullscreen param to web calameo service. Default value is allowed. --- tarteaucitron.services.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tarteaucitron.services.js b/tarteaucitron.services.js index 89d0114..c42137f 100644 --- a/tarteaucitron.services.js +++ b/tarteaucitron.services.js @@ -733,9 +733,10 @@ tarteaucitron.services.calameo = { id = x.getAttribute("data-id"), width = x.getAttribute("width"), height = x.getAttribute("height"), - url = '//v.calameo.com/?bkcode=' + id; + url = '//v.calameo.com/?bkcode=' + id, + allowfullscreen = x.getAttribute("allowfullscreen"); - return ''; + return ''; }); }, "fallback": function () {