From 9706e06f82ce4e2778707cb20ad4c92aebe98563 Mon Sep 17 00:00:00 2001 From: Amauri CHAMPEAUX Date: Tue, 11 May 2021 09:59:51 +0200 Subject: [PATCH] Add "srcdoc", "loading", "loop" to youtube --- tarteaucitron.services.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tarteaucitron.services.js b/tarteaucitron.services.js index fb2fe59..53fcd48 100644 --- a/tarteaucitron.services.js +++ b/tarteaucitron.services.js @@ -3355,7 +3355,7 @@ tarteaucitron.services.youtube = { frame_height = 'height=', video_frame, allowfullscreen = x.getAttribute("allowfullscreen"), - attrs = ["theme", "rel", "controls", "showinfo", "autoplay", "mute", "start"], + attrs = ["theme", "rel", "controls", "showinfo", "autoplay", "mute", "start", "srcdoc", "loading", "loop"], params = attrs.filter(function (a) { return x.getAttribute(a) !== null; }).map(function (a) {