소스 검색

Add "srcdoc", "loading", "loop" to youtube

Amauri CHAMPEAUX 4 년 전
부모
커밋
9706e06f82
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      tarteaucitron.services.js

+ 1 - 1
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) {