Add "srcdoc", "loading", "loop" to youtube
This commit is contained in:
parent
aaed3a8527
commit
9706e06f82
|
|
@ -3355,7 +3355,7 @@ tarteaucitron.services.youtube = {
|
||||||
frame_height = 'height=',
|
frame_height = 'height=',
|
||||||
video_frame,
|
video_frame,
|
||||||
allowfullscreen = x.getAttribute("allowfullscreen"),
|
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) {
|
params = attrs.filter(function (a) {
|
||||||
return x.getAttribute(a) !== null;
|
return x.getAttribute(a) !== null;
|
||||||
}).map(function (a) {
|
}).map(function (a) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue