diff --git a/tarteaucitron.services.js b/tarteaucitron.services.js index 94c19b8..9677c37 100644 --- a/tarteaucitron.services.js +++ b/tarteaucitron.services.js @@ -980,6 +980,7 @@ tarteaucitron.services.dailymotion = { frame_height = 'height=', video_frame, embed_type = x.getAttribute("embedType"), + allowfullscreen = x.getAttribute("allowfullscreen"), params = 'info=' + x.getAttribute("showinfo") + '&autoPlay=' + x.getAttribute("autoplay"); if (video_id === undefined) { @@ -998,7 +999,7 @@ tarteaucitron.services.dailymotion = { if (embed_type === undefined || !['video', 'playlist'].includes(embed_type) ) { embed_type = "video"; } - video_frame = ''; + video_frame = ''; return video_frame; }); },