diff --git a/tarteaucitron.services.js b/tarteaucitron.services.js index 6174d79..a3e9f43 100644 --- a/tarteaucitron.services.js +++ b/tarteaucitron.services.js @@ -3282,6 +3282,7 @@ tarteaucitron.services.youtube = { video_height = x.getAttribute("height"), frame_height = 'height=', video_frame, + allowfullscreen = x.getAttribute("allowfullscreen"), attrs = ["theme", "rel", "controls", "showinfo", "autoplay", "mute", "start"], params = attrs.filter(function (a) { return x.getAttribute(a) !== null; @@ -3302,7 +3303,7 @@ tarteaucitron.services.youtube = { } else { frame_height += '"" '; } - video_frame = ''; + video_frame = ''; return video_frame; }); },