added start and end parameter support
This commit is contained in:
parent
a9c2f03f92
commit
6631bdb501
|
|
@ -4379,7 +4379,9 @@ tarteaucitron.services.youtube = {
|
|||
frame_height = 'height=',
|
||||
video_frame,
|
||||
allowfullscreen = tarteaucitron.getElemAttr(x, "allowfullscreen"),
|
||||
attrs = ["theme", "rel", "controls", "showinfo", "autoplay", "mute", "start", "loop", "enablejsapi"],
|
||||
start = tarteaucitron.getElemAttr(x, "start"),
|
||||
end = tarteaucitron.getElemAttr(x, "end"),
|
||||
attrs = ["theme", "rel", "controls", "showinfo", "autoplay", "mute", "start", "end", "loop", "enablejsapi"],
|
||||
params = attrs.filter(function (a) {
|
||||
return tarteaucitron.getElemAttr(x, a) !== null;
|
||||
}).map(function (a) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue